Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

How to find 3 OS parameters



I interpreted his question as the maximum number possible, not how many are extant.

MEG

"--- begin copied/edited message from Dan Barrett ---"
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Friday 14 November 2003 11:36, Gregory Gimler wrote:
> > 1) number of processes
> 
> # Check the man page; I think -ef gets _all_ processes
> ps -ef | wc -l
> 
> 
> > 2) number of threads
> 
> No idea, but if you can grok /proc/$PROCESS_NUMBER/stat, then you're in 
> business.
> 
> 
> > 3) number of simultaneous open files
> 
> # You can throw some switches at lsof if you only want, say, data files
> # on a userland disk partition
> lsof | wc -l
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/tR1+sIjNiQTGkXARAsgWAJ9EBUp4hHpDZxw82fodizIxWJJdOwCgx4Ov
> HzuCeJL9V7ohHuTnjwZ7xeI=
> =tntP
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
> 





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org