Sponsored Content
Operating Systems Solaris CPU and Memory Utilization every 5 minutes interval Post 302697023 by fspalero on Thursday 6th of September 2012 03:21:34 AM
Old 09-06-2012
CPU and Memory Utilization every 5 minutes interval

Hi,

Anyone can help me on how to collect the CPU and Memory usages every 5 minutes interval.

Thanks in advance.

Regards,
FSPalero
 

10 More Discussions You Might Find Interesting

1. AIX

Utilization for memory and cpu

Hi all I need command to give me the utilization for memory and cpu,and how can I know if the utilization ok or no? for example in hp unix #top it is give me utilize for cpu and memory and also I can know if utilize ok or no. thanks (2 Replies)
Discussion started by: magasem
2 Replies

2. Shell Programming and Scripting

Memory and CPU utilization process

Hi, I need to check which process in linux is taking high memory and which process is taking high cpu usage. Regards, Bash (4 Replies)
Discussion started by: learnbash
4 Replies

3. UNIX for Dummies Questions & Answers

CPU/Memory utilization

hi guys I just want to know how to get the cpu/memory utilization of a running script? Well i know that I can use the sar command but it shows the whole system's statistics. Is it possible to get the stats of a single scirpt or a single running service? (6 Replies)
Discussion started by: khestoi
6 Replies

4. UNIX for Dummies Questions & Answers

CPU Utilization and Memory Usage

Can any one suggest me, how to get the last week's (Last n weeks) average CPU utilization and Memory usage? (2 Replies)
Discussion started by: siba.s.nayak
2 Replies

5. UNIX for Dummies Questions & Answers

Getting CPU utilization and memory for a process

I am trying to get cpu util and memory occupied for a process. I use these (I am showing output also): using top ---------- $ top p 25272 d 5 top - 01:52:17 up 2 days, 21:28, 2 users, load average: 0.02, 0.05, 0.06 Tasks: 1 total, 0 running, 1 sleeping, 0 stopped, 0 zombie... (5 Replies)
Discussion started by: radiatejava
5 Replies

6. Linux

Save CPU and memory utilization over time

Hi, I would like to view the cpu and memory utilization of a given job over time and save this information in a file, such that at the end of the process I can create a plot of the CPU and memory utilization over time. Is this possible? I would like to do the same for the io, is there any... (1 Reply)
Discussion started by: giorgos193
1 Replies

7. UNIX for Dummies Questions & Answers

Glance and CPU and Memory utilization

Hi guys, I am new to Unix and have been asked to Check the CPU and Memory utilization using the Glance command. I have tried searching and Google but cant find anything that makes sense to me :o Does anyine have any links to somewhere that will explain exactly what it is - tried "man... (2 Replies)
Discussion started by: gt10
2 Replies

8. UNIX for Dummies Questions & Answers

Get CPU,Memory utilization by process id

Hi , We need to get the CPU% and Memory utilization of process by process id. Is there any way to do get them ? I tried few commands like top -p <PID> , but am getting error "Quitting top: pset <PID> doesn't exist" also i tried with ps -eo option but am getting error "ps: illegal option --... (1 Reply)
Discussion started by: suresh_g
1 Replies

9. HP-UX

Get CPU,Memory utilization by process id

Hi , We need to get the CPU% and Memory utilization of process by process id. Is there any way to do get them ? I tried few commands like top -p <PID> , but am getting error "Quitting top: pset <PID> doesn't exist" also i tried with ps -eo option but am getting error "ps: illegal option --... (5 Replies)
Discussion started by: suresh_g
5 Replies

10. Red Hat

CPU Utilization and Memory Utilization of Services and Applications

Hi, i am new to linux/RHEL 6.0 and i have two questions. 1) How to get the CPU utilization and Memory Utilization of all Services running currently? 2) How to get the CPU utilization and Memory Utilization of all Applications running currently? Please help me to find the script. ... (2 Replies)
Discussion started by: nossam
2 Replies
PMCOLLECTL(1)						      General Commands Manual						     PMCOLLECTL(1)

NAME
pmcollectl - collect data that describes the current system status SYNOPSIS
pmcollectl [-f file | -p file ...] [options ...] DESCRIPTION
pmcollectl is a system-level performance monitoring utility that records or displays specific operating system data for one or more sets of subsystems. Any of the subsystems (such as CPU, Disks, Memory or Sockets) can be included or excluded from data collection. Data can either be displayed immediately to a terminal, or stored in files for retrospective analysis. pmcollectl is a python(1) script providing much of the functionality available from the collectl(1) Linux utility (which happens to be written in perl(1)). It makes use of the Performance Co-Pilot (PCP) toolkit to simplify its implementation, as well as provide more of the collectl functional- ity on platforms other than Linux. pmcollectl has two primary modes of operation: 1. Record Mode (-f or --filename option) which reads data from a live system and writes output to a file or displays it on a terminal. 2. Playback Mode (-p or --playback option) which reads data from one or more PCP archive files and displays output on a terminal. Note that these files are not raw collectl format data, rather they are archives created by the pmlogger(1) utility (possibly indirectly, through use of the -f option to pmcollectl). RECORD MODE OPTIONS
In this mode data is taken from a live system and either displayed on the terminal or written to a PCP archive. -h host Display metrics from host instead of displaying metrics from the local host. -c, --count samples The number of samples to record. -f, --filename filename This is the name of a PCP archive to write the output to. -i, --interval interval This is the sampling interval in seconds. The default is 1 second. -R, --runtime duration Specify the duration of data collection where the duration is a number followed by one of wdhms, indicating how many weeks, days, hours, minutes or seconds the collection is to be taken for. PLAYBACK MODE OPTIONS
In this mode, data is read from one or more PCP data files that were generated with the recording option, or indirectly via the pmlogger utility. -f, --filename filename If specified, this is the name of a PCP archive to write the output to (rather than the terminal). -p, --playback filename Read data from the specified PCP archive files(s). COMMON OPTIONS
The following options are supported in both record and playback modes. --help Display standard help message. -s, --subsys subsystem This field controls which subsystem data is to be collected or played back for. The rules for displaying results vary depending on the type of data to be displayed. If you write data for CPUs and DISKs to a raw file and play it back with -sc, you will only see CPU data. If you play it back with -scm you will still only see CPU data since memory data was not collected. To see the current set of default subsystems, which are a subset of this full list, use -h. The default is "cdn", which stands for CPU, Disk and Network summary data. SUMMARY SUBSYSTEMS c - CPU d - Disk f - NFS V3 Data j - Interrupts m - Memory n - Networks y - Slabs (system object caches) DETAIL SUBSYSTEMS This is the set of detail data from which in most cases the corresponding summary data is derived. So, if one has 3 disks and chooses -sd, one will only see a single total taken across all 3 disks. If one chooses -sD, individual disk totals will be reported but no totals. C - CPU D - Disk F - NFS Data J - Interrupts M - Memory node data, which is also known as NUMA data N - Networks Y - Slabs (system object caches) Z - Processes --verbose Display output in verbose mode. This often displays more data than in the default mode. When displaying detail data, verbose mode is forced. Furthermore, if summary data for a single subsystem is to be displayed in verbose mode, the headers are only repeated occasionally whereas if multiple subsystems are involved each needs their own header. SEE ALSO
PCPIntro(1), collectl(1), perl(1), python(1), pmlogger(1), pmcd(1), pmprobe(1), pmval(1), PMAPI(3), and pcp.conf(5). Performance Co-Pilot PCP PMCOLLECTL(1)
All times are GMT -4. The time now is 03:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy