Hello,
The following point came up on the python-tutor mailing list:
spir@o:~$ python
Python 2.6.4 (r264:75706, Dec 7 2009, 18:45:15)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 4//3
1
>>> -4//3
-2
The algorithm seems to use floor, not integral part. Is this correct, according to the (math) definition of integer division?
Denis
________________________________
vit esse estrany ☣
spir.wikidot.com
Hi
I would like to know if there is any way to calculate system wide CPU utilization in python on solaris. I got the way to calculate utilization on solaris for a process but not system wide CU utilization calculation. For linux there are methods which make use pf /etc/proc file. Is there any similar way present for solaris. If not, I would appriciate if anyone will tell me why this support is not there. Is there any specific reason for not providing this functionality.
Thanks,
Rajashree.
…
[View More]
This email and any attachments may contain legally privileged and/or confidential information of Starent Networks, Corp. and is intended only for the individual or entity named in the message. The information transmitted may not be used to create or change any contractual obligations of Starent Networks, Corp. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this e-mail and its attachments by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify the sender immediately -- by replying to this message or by sending an email to postmaster(a)starentnetworks.com -- and destroy all copies of this message and any attachments without reading or disclosing their contents. Thank you.
[View Less]