[CentOS] question
Tim Edwards
tim at registriesltd.com.au
Thu Nov 17 05:36:24 UTC 2005
adrian kok wrote:
> Hi tim
>
> Thank you for your help
>
> 1/ shift+page up works
>
> 2/ For the top
>
> - When top in procps version 3.2.0
> the output file is empty?
>
> - When top in procps version 2.0.17
> The file is fine but the output is truncated eg:
> "/usr/sbin/htt" as follow
> Do you know how to have whole file eg:
> "/usr/sbin/httpd xxxxx"
>
> Thank you again
>
> 4562 mysql 16 0 14564 3804 2452 S 0.0 0.1
> 0:36 0 /usr/libexec/
> 4996 root 16 0 16284 2240 2140 S 0.0 0.1
> 2:04 0 /usr/bin/perl
> 5038 root 16 0 2652 1928 1800 S 0.0 0.0
> 0:00 0 sendmail: sm-
> 5077 root 21 5 20792 2348 2348 S N 0.0 0.1
> 0:00 0 /usr/bin/spam
> 5881 root 16 0 41676 15M 15596 S 0.0 0.7
> 2:50 0 /usr/sbin/htt
> 6166 postgres 16 0 1452 1168 1104 S 0.0 0.0
> 0:30 0 /usr/bin/post
> 6234 postgres 16 0 2780 1484 1472 S 0.0 0.0
> 0:03 0 postgres: sta
Just use the ps command, eg. ps -efw. I don't think top is very good for
trying to output stuff to a file.
--
Tim Edwards
More information about the CentOS
mailing list