Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #94980
| From | Emile van Sebille <emile@fenx.com> |
|---|---|
| Subject | Re: Linux script to get most expensive processes |
| Date | 2015-08-04 15:12 -0700 |
| References | <87twsehkmk.fsf@Equus.decebal.nl> <mailman.1218.1438721578.3674.python-list@python.org> <87pp32hhbr.fsf@Equus.decebal.nl> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1220.1438726343.3674.python-list@python.org> (permalink) |
On 8/4/2015 2:30 PM, Cecil Westerhof wrote: > On Tuesday 4 Aug 2015 22:52 CEST, Emile van Sebille wrote: >> My platform shows as linux2 and it worked fine for me when checking >> for that. > > I heard that that was possible also, but none of my systems gives > this. I should change it. You could also use the platform module: >>> import platform >>> platform.system() 'Linux' >>> Emile
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Linux script to get most expensive processes Cecil Westerhof <Cecil@decebal.nl> - 2015-08-04 22:19 +0200
Re: Linux script to get most expensive processes Emile van Sebille <emile@fenx.com> - 2015-08-04 13:52 -0700
Re: Linux script to get most expensive processes Cecil Westerhof <Cecil@decebal.nl> - 2015-08-04 23:30 +0200
Re: Linux script to get most expensive processes MRAB <python@mrabarnett.plus.com> - 2015-08-04 23:00 +0100
Re: Linux script to get most expensive processes Cecil Westerhof <Cecil@decebal.nl> - 2015-08-05 01:14 +0200
Re: Linux script to get most expensive processes Emile van Sebille <emile@fenx.com> - 2015-08-04 15:12 -0700
Re: Linux script to get most expensive processes Cecil Westerhof <Cecil@decebal.nl> - 2015-08-05 01:17 +0200
Re: Linux script to get most expensive processes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-08-05 12:56 +0200
Re: Linux script to get most expensive processes Laura Creighton <lac@openend.se> - 2015-08-06 06:06 +0200
csiph-web