doubt regarding process usage


 
Thread Tools Search this Thread
Operating Systems Solaris doubt regarding process usage
# 8  
Old 09-25-2009
our issue with this post is "more space" is very generic and can mean several different things to several different people. i'm guessing that you are referring to address space??? again, i am not sure what you are looking for. what are the symptoms of your host(s)?

historical data is best seen through sar if you have set it up. there are other ways of getting host level data but again, there has to be a mechanism in place to capture data. if i were you, i would script something that captures several different outputs about your system every hour or so. you can obviously adjust this to what you see fit. process table, io stats, network stats, etc etc.
# 9  
Old 09-25-2009
If what I understood is what you are clarifying - I would do the following

cron the following command to run every 10 minutes and save the output to a log file

0,10,20,30,40,50 * * * * * ps -u <ur username> -o pid,pcpu,pmem,command >> /tmp/mem_log

The above will log all your processes with cpu % and mem %. You can sort on the mem field and select the top 10 to see the top 10 mem hogging processes.
# 10  
Old 09-25-2009
If you have certain processes spawing during the mentioned time, you need to write a script to check the utilisation of that PID using grep with prstat or sar.from there, you need to drill down to check the child process using ptree and see where the issue goes. If this is related to oracle, you can provide the pid to your DBA and they will know what to fine tune to the oracle parameters
# 11  
Old 09-25-2009
Quote:
Originally Posted by rogerben
some process is occupying more space during the specific time interval. Since am not able to check at that time is it possible to check that processes which occupied more space on the next day.
Sorry but no one will succeed to help if you fail answering the questions asked.
What output are you expecting ? You just ignored that question of mine.
What is that "space" you are talking about ?
# 12  
Old 09-28-2009
Quote:
Originally Posted by jlliagre
Sorry but no one will succeed to help if you fail answering the questions asked.
What output are you expecting ? You just ignored that question of mine.
What is that "space" you are talking about ?

sorry for the confusion,, its CPU utilization,.Hope you are clear now.
rogerben
# 13  
Old 09-28-2009
So did you try gowri_g_s' suggestion ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Process memory usage

hi all gurus: I want to find out Solaris process memory usage, but got a bit confused, see if any one can provide me some guidance. i tend to use prstat -a to get total memory consumption by user (I know prstat likely have a bug that simply sum up the memory, regardless if the memory being... (5 Replies)
Discussion started by: oakville
5 Replies

2. Red Hat

Doubt about process migration

Hello experts, My doubt is, shall we move process from one node to another node..? This will be need when the cpu running on max load. Thanks. (1 Reply)
Discussion started by: srigias
1 Replies

3. HP-UX

mailx usage doubt

How to use mailx to send a mail by specifying the from: address, considering that i am the root user (3 Replies)
Discussion started by: Amit Kulkarni
3 Replies

4. Shell Programming and Scripting

CPU Usage of a process

Hi guys, I am currently writing a JAVA script to monitor certain unix processes through JConsole. Upon having lots of trouble with runtime.exec, i decided to bypass the top/ps command call and just get the information straight from /proc/*pid*/whatever. Now i can pull back any... (0 Replies)
Discussion started by: matt9949
0 Replies

5. Solaris

Doubt on non global zone dedicated-cpu usage ??

Hi All, While creating zone we will mention min and max cpu cores, If the non global zone uses only minimum cores at particular time What the other cores will do? Will it shared to global zone? If we do prstat in non global zone is it show only the allocated cpu cores for that zone or it... (0 Replies)
Discussion started by: vijaysachin
0 Replies

6. HP-UX

how could I get a process Memory Usage

I use pstat API to get Process Infomation I would like to get a process 1.process owner 2.how many physical memory and virtual memory and total memory used(KB) and usage(%) 3.a process excution file create time 4.a process excution file access time I do't know which attribute it i need ... (3 Replies)
Discussion started by: alert0919
3 Replies

7. UNIX for Dummies Questions & Answers

doubt in child process

fork() system is used to create a child a process.lets consider fork() echo krace will print krace twice .if i give it in loop it will print krace 2 power n time..in this case all child and parent process executes same process ...but i want to create a four different child process to execute four... (4 Replies)
Discussion started by: kracekumar
4 Replies

8. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

9. UNIX for Dummies Questions & Answers

Process Resource Usage

Hi There, I'm trying to find a way to gather resource usage information (CPU, Memory & Virtual Memory) for a single process in a scripted way. I've looked at vmstat & top but I can't figure out how to use them to get the information for a single process. can any one help with this? ... (2 Replies)
Discussion started by: Murph
2 Replies

10. AIX

CPU usage of a process

I'm trying to monitor the CPU usage of a process and output that value to a file or variable. I know topas or nmon can tell me this in interactive mode but what I need is topas-looking output that allows me to write to a file after a discrete interval. Unlike nmon data collection to a file on top... (5 Replies)
Discussion started by: robot23
5 Replies
Login or Register to Ask a Question