10-25-2006
check memory and processors
HI ,
I have AIX 5.2 ? I believe.
I am looking to see how many processors I have and what the Memory is in this box? I know there is a command to run but I am really rusty at this
Thanks
Dave
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
is there other way to check how much physical memory being used without using top command?....this is on Sun Solrais 2.7 (3 Replies)
Discussion started by: dookeobih
3 Replies
2. Programming
Hi all,
I tried to output memory usage information while the process is
executing at a particular time. I found out some people
suggesting calling the ioctl. I followed it and wrote a test example:
#include <unistd.h>
#include <stdlib.h>
#include <iostream.h>
#include <fcntl.h>
#include... (2 Replies)
Discussion started by: lanchen
2 Replies
3. Solaris
HI
Please help me how to check the physical memory, model name and hardisk information. (5 Replies)
Discussion started by: jeelans
5 Replies
4. Solaris
Hi,
I am looking for acoomand on HP where by i can see the CPU increasing for a given process ... I know i can see this from top/prstat ..
But it will give for all the processes - I want something like say ps where i can call it from a shell script a few times and check if it is has increased... (0 Replies)
Discussion started by: nano2
0 Replies
5. Solaris
Hi
I am facing a problem with memory in SunOS 5.9. I just want to check the memory usage. Can anybody suggest me a command that will help me in this regard. (4 Replies)
Discussion started by: rajarsi.ghosh
4 Replies
6. UNIX for Advanced & Expert Users
I am running c++ code on AIX unix.I have a doubt that my code is using some memory but it is not clearing that.Some time i am getting heap allocation problem.In my code i am not using any malloc,new functions also i am justing using pointers and arrays.
Is there any way i can find out if the... (2 Replies)
Discussion started by: ukatru
2 Replies
7. SuSE
If following is the usage of cat /proc/meminfo
MemTotal: 4051304 kB
MemFree: 28544 kB
Buffers: 216848 kB
Cached: 3398628 kB
SwapCached: 0 kB
Active: 455460 kB
Inactive: 3291612 kB
HighTotal: 0 kB
HighFree: 0 kB... (5 Replies)
Discussion started by: bryanabhay
5 Replies
8. Shell Programming and Scripting
Hi all,
OS: Solaris 10
I'm trying to put together a script to check memory utilisation.
The command I'm running is:
ps -ef -o pmem -o pid -o rss -o vsz -o args -o user | grep 2 | grep -v "VSZ COMMAND" | sort | tail -10 | sort -r
And the output looks something like this:
... (9 Replies)
Discussion started by: d-train
9 Replies
9. Linux
hello,
I have purchased VPS from one webhosting company. VPS comes with Virtuozzo power panel. It has 512MB gurranted RAM and dynamic RAM 2048 MB.
I have hosted single domain with 50MB database and wordpress installation.
But I am getting resource alerts. It goes sometime in yellow... (8 Replies)
Discussion started by: mrugesh78
8 Replies
10. Solaris
Hello Friends,
I need to check memory usage & availability before I could run a program if there is enough memory is left or not, so how could i achieve this? Which command output i should rely on? I have diplayed outputs of SAR, VMstat and PRstat commands below, But how could i check memory... (8 Replies)
Discussion started by: EAGL€
8 Replies
LEARN ABOUT OSF1
processor_sets
processor_sets(4) Kernel Interfaces Manual processor_sets(4)
NAME
processor_sets - Collections of processors
DESCRIPTION
A processor set is a collection of processors. When a processor set is first created, it does not contain any processors. You can add
processors to a processor set, remove processors from a processor set, and also destroy the processor set. In addition, you can assign
specific processes to a processor set.
When the system is booted, all its processors are assigned to the default processor set. Each processor in a system can be a member of
only one processor set at one time.
In addition, when you create a process, it is assigned to a processor set. Unless you indicate a specific processor set, a process is
assigned to the default processor set. A process can execute only on an processor that is included in the processor set to which the
process is assigned. If you assign a process to an empty processor set, it will not execute until a processor is assigned to the processor
set or until the process is assigned to another processor set.
Use the pset_create command or the create_pset function to create a processor set. When you first create a processor set, it does not con-
tain any processors.
Use the pset_assign_cpu command or the assign_cpu_to_pset function to assign processors to a specific processor set. When you assign a
processor to a specific processor set, the processor is removed from its current processor set.
Use the pset_destroy command or the destroy_pset function to destroy a processor set. Processors that belong to a destroyed processor set
are assigned to the default processor set.
Use the pset_assign_pid command or the assign_pid_to_pset function to assign a process to a specific processor set. In addition, you can
request that a process has exclusive access to a processor set. If a process has exclusive access to a processor set, no other process is
able to use that processor set. If a process has exclusive access to a processor set, that access will be cleared automatically when the
process exits. Note that if a process is already assigned to a processor set, a request for exclusive access to that processor set will be
denied.
Use the pset_info command to display the status of each processor set on the system as well as the status of each processor.
You must be root to create and destroy processor sets and to assign a processor to a processor set. Processor set creation and destruction
and processor assignments to processor sets are logged in the /var/adm/wtmp file.
FILES
/var/adm/wtmp
RELATED INFORMATION
Commands: pset_create(1), pset_destroy(1), pset_info(1), pset_assign_pid(1), pset_assign_cpu(1), runon(1), psrinfo(1), psradm(8)
Functions: assign_pid_to_pset(3), assign_cpu_to_pset(3), create_pset(3), destroy_pset(3) delim off
processor_sets(4)