Re: top command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



From: Kaushal Shriyan <kaushalshriyan@xxxxxxxxx>

> I am running CentOS 6.4 on a remote server. when i run the below command,
> it prints out the headers too. is there a way to remove headers using the
> below command line
> *top -b -p 22657 > topcpu.txt*

If you want to stick to top:
  top -b -p 22657 | grep -v '^[a-z ]\|^$'

JD
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux