Re: top command
Giorgos Keramidas wrote:
$ ps -o pcpu -p $$ | tail -1
0.2
$
No need for the tail; you can tell ps not to print the header line:
$ ps -o pcpu= -p $$
0.0
$
--
Geoff Clare <netnews@xxxxxxxxxxxxx>
.
Relevant Pages
- Re: Strings ?
... matrix - as binary data. ... read to the new-line I append at the end of every header field. ... type, pointer:: head, tail ... Create format for writing out the array. ... (comp.lang.fortran) - Re: SIMPLEQ_* macros from OpenBSD sys/queue.h
... > Giorgos Keramidas wrote: ... partly the reason why I noted that OpenBSD synchronized their queue.h ... header with NetBSD a few times in the past. ... (freebsd-hackers) - Re: #includes
... Neil B wrote: ... variable in it's header which is Class A. How do you approach this ... so your not chasing your tail?? ... (microsoft.public.vc.language) - Re: sh parameter substitution problem
... On Wed, 11 Feb 2009, Giorgos Keramidas wrote: ... which have been awk'd out of 'tail named.run': ... $ echo "$" ... (freebsd-questions) - Re: Will the real ASAAR please stand up?
... This reply of yours bears a hint of forgery itself, ... misinterpretation of the routing path shown in the header. ... significant unless it's at the tail end of the Path: ... 52 messages from 37 different posters containing that string, ... (rec.photo.digital) |
|