Check These Out
Replace 'csv_file.csv' with your filename.
Redirects the contents of your clipboard through a pipe, to a remote machine via SSH.
XX is your device partition number like /dev/sdc1 .
to see how many inodes your partition have type:
$ df --inodes (or df -i)
Default formatting with ext4 would create small inode count for the new partition
if you need big count of inodes is the fstype news the correct one.
in debian you can see which fstype exists as template in:
$ vim /etc/mke2fs.conf
if you format default ext for a partition size with 1TB you would get 1 Million inodes (not enough for backupStorages)
but if you format with fstype news you would get hunderd of millions of inodes for the partition.
you have tune
$/etc/sysctl.conf
also with following sysconfig parameters
$ fs.file-max = XXX
$ fs.nr_open = XXX
where XXX is the count of max inodes for whole system
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
'dpkg -S' just matches the string you supply it, so just using 'ls' as an argument matches any file from any package that has 'ls' anywhere in the filename. So usually it's a good idea to use an absolute path. You can see in the second example that 12 thousand files that are known to dpkg match the bare string 'ls'.
This version is precise and requires one second to collect statistics. Check sample output for a more generic version and also a remote computer invocation variant. It doesn't work with the busybox version of the 'top' command but can be adjusted
ps and grep is a dangerous combination -- grep tries to match everything on each line (thus the all too common: grep -v grep hack). ps -C doesn't use grep, it uses the process table for an exact match. Thus, you'll get an accurate list with: ps -fC sh rather finding every process with sh somewhere on the line.
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"