Ask a Question related to Linux / Unix Administration, Design and Development.
-
Pongthai #1
ps command with dual CPU
Hi,
I would like to know the percentage of CPU that my program using. My
machine has dual CPU and I used ps command to find out the cpu usage.
However, I don't know whether the value of pcpu is the actual cpu
usage of my program or I need to multiply it by two for the actual cpu
usage.
Thanks for the answer.
Regards,
Lek
Pongthai Guest
-
Dual mail delivery from scheduled task on dual-instanceCFMX7 Enterprise system
Hi all, first of all apologies in case this has been solved somewhere, but after a day of looking through forums and the web, I can not find... -
RUN/execute a Command-Line command from an ASP page
Hi, I need to RUN/execute a Command-Line command from an ASP page. This is the command: sse45.exe -i k:\o\2.wmv -o k:\o\2.shh -w 128 -df 0 -m 2... -
Windows Explorer Right Click Command (+ Custom Command Script)
Ok got a tricky question about custom scripts, I would like to add a Windows Explorer Right Click Command - that allows me to select an image/s... -
Multi command files and running them from the command prompt
Use the -td§ option . Details are in the section titled Command Line Processor Options in the Command Reference. "Derek Clarkson"... -
Dual Xeon Linux vs. dual G5 : Where can I find direct speed comparison?
It it hype or has apple blown away the x86 world? Any pointers most appreciated. Thanks Jim -
TCS #2
Re: ps command with dual CPU
On Fri, 14 May 2004 01:36:48 -0700, "Michael Vilain <vilain@spamcop.net>" <> wrote:
>In article <4bf99b6f.0405132021.4c83b864@posting.google.com >,
> [email]pongthai@msn.com[/email] (Pongthai) wrote:>> I would like to know the percentage of CPU that my program using. My
>> machine has dual CPU and I used ps command to find out the cpu usage.
>> However, I don't know whether the value of pcpu is the actual cpu
>> usage of my program or I need to multiply it by two for the actual cpu
>> usage.Or the applications uses any resource that can be managed on the other CPU,>Unless your program is threaded, at most it will use only 1 CPU cycling
>between waiting for I/O, CPU, or paging. A single-threaded application
>cannot use both CPUs at once. Unless you re-write it to run using
>threads, you're out of luck.
such as the file system, video graphics, etc.
TCS Guest



Reply With Quote

