You are currently browsing all posts tagged with Linux

SYSSTAT: SAR/IOSTAT

Posted on Thursday, February 25th, 2010 at 1:30 pm in

The pidstat command is used to monitor processes and threads currently being managed by the Linux kernel. It can also monitor the children of those processes and threads.
With its -d option, pidstat can report I/O statistics, providing that you have a recent Linux kernel (2.6.20+) with the option CONFIG_TASK_IO_ACCOUNTING compiled in. So imagine that your…

SYSSTAT: SAR/IOSTAT - continue reading

Quick SCP

Posted on Thursday, February 25th, 2010 at 11:39 am in

Logged into source host
scp -r -p * root@remotehost:/home/user/public_html
This will copy *all* files to the directory /home/user/public_html in the remote server remotehost. The -p preserves the modification and access times, as well as the permissions of the source-file in the destination-file. The -r copies the contents of the source-file (directory in this case) recursively.

Quick SCP - continue reading

Top