Is there an unix system command that can be used to check out how many
processors are available on a supercomputer at a certain time?
Thanks
Thanks
man sizer for more
| Is there an unix system command that can be used to check out how many
| processors are available on a supercomputer at a certain time?
|
| Thanks
|
|
--Quote:>Thanks
Thanks
"Alan Rollow - Dr. File System's Home for Wayward Inodes."
> >Is there an unix system command that can be used to check out how many
> >processors are available on a supercomputer at a certain time?
> Depends on how you define "available". As someone else noted, you
> can use "sizer -p" to get the number. You can use psrinfo(1) to
> the state of each CPU. If online counts as available, this may
> be more useful to you than sizer. If you want available to mean
> "practically idle" that gets harder.
> >Thanks
> --
> Is there an unix system command that can be used to check out how many
> processors are available on a supercomputer at a certain time?
Usually such systems are used with the help of some queueing system,
such as RMS, LSF, NQS, PBS,... to avoid exactly the problem you
experienced: system overload. One can find out the numer of idle
processors with the tools provided by such systems. Moreover, one can
can request as much processors as one needs for a certain job, and the
queueing system starts the job only, if there are sufficient processors
idle.
HTH,
Ralf
>Thanks
>"Alan Rollow - Dr. File System's Home for Wayward Inodes."
>writes:
>> >Is there an unix system command that can be used to check out how many
>> >processors are available on a supercomputer at a certain time?
>> Depends on how you define "available". As someone else noted, you
>> can use "sizer -p" to get the number. You can use psrinfo(1) to
>> the state of each CPU. If online counts as available, this may
>> be more useful to you than sizer. If you want available to mean
>> "practically idle" that gets harder.
The underlying information used by these problems is available using
either table(2) or getsysinfo(2) (I don't recall which). The per-CPU
load data is stored as the number of soft clock ticks spent in each
of the different modes since the system booted; user mode, nice,
kernel, wait and idle. A custom program to collect it and display
it in some desired format be non-trivial, but not hard. Especially
since the source to cpuinfo is part of the subset. The Monitor
distribution also include sources.
--Quote:>> >Thanks
1. UNIX system command produces child dies?
When I execute the UNIX system command from a C program in the manner
below, I see a message appear on standard out that says something to
the effect that the child dies. How can I prevent the message?
system("rm -f /xyz/abc; ln -s /mno/jkl/cde newguy");
--
Mountain View, CA
3. Does any Know How To FTP between a Unix system and a Non Unix operating system.
5. Mp command and poscript landscape option on Unix System V Solaris Sparc workstation.
6. Problem establishing a SLIP link.
7. command to find out how much memory on a unix system?
9. commands for determining system status in UNIX
10. Mp command and poscript landscape option on Unix System V Solaris Sparc workstation.
11. HELP: calling a system command in a UNIX C program..
12. Unix Command Differences BSD to System V?