Fábio Saboia escreveu:
> sei q com o "top" posso ver consumo de memoria, processador  que um
> processo está usando ...
> mas existe alguma forma de jogar isso num arquivo ?

Fábio, veja a opção -b do top:
-b : Batch mode operation
     Starts top in ’Batch mode’, which could be useful for sending out‐
     put from top to other programs or to a file.  In  this  mode,  top
     will  not  accept input and runs until the iterations limit you’ve
     set with the ’-n’ command-line option or until killed.

-- 
Adriano Rafael Gomes
SoftwareLivreVS
http://www.softwarelivrevs.org/

-- 
ubuntu-br mailing list
[email protected]
www.ubuntu-br.org
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a