Need to monitor OS in percentage


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Need to monitor OS in percentage
# 1  
Old 07-05-2013
Lightbulb Need to monitor OS in percentage

Hi,

I am looking for generic commands / scripts that could run across platforms especially on HP Itanium boxes to give me % of free OS parameters

For eg:

Free Total Memory RAM : 20 %

Free Total Swap Memory: 35%

Free Total CPU utilisation: 44%

Free Disk Space: /appl = 55%
/tmp = 23%
/opt = 31%

etc [whatever else is easily populated] ....

If there is a script already of this sort it will be great.

Thank you...

Last edited by mohtashims; 07-05-2013 at 04:11 AM..
# 2  
Old 07-05-2013
Hello,

Could you please let me know if you need these details like CPU Utilization, Disk space when ever they crossed Threshould or you need all disk space details with what ever is the current value for CPU Utilization.

Please let me know, I can try to help you.


Thanks,
R. Singh
# 3  
Old 07-05-2013
Quote:
Originally Posted by RavinderSingh13
Hello,

Could you please let me know if you need these details like CPU Utilization, Disk space when ever they crossed Threshould or you need all disk space details with what ever is the current value for CPU Utilization.

Please let me know, I can try to help you.


Thanks,
R. Singh
For now, I just need the current value .. I can try to work towards implementing any conditions myself.

Also, I need the output in the specific format I specified in the OP so if you could help.
# 4  
Old 07-05-2013
Quote:
If there is a script already of this sort it will be great.
But if there isnt, you are to write your own...

Using top, swapinfo, ps, du, df should give you all you need
# 5  
Old 07-11-2013
Quote:
Originally Posted by vbe
But if there isnt, you are to write your own...

Using top, swapinfo, ps, du, df should give you all you need
I can try write it for the very specific OS I have, but i certainly do not hold the expertise to write a script that would yield the desired output across OS.

It will be great if you could help.
# 6  
Old 07-11-2013
We cannot and will not do everything for you start to finish.

We have told you where to start.

Start asking yourself how you would turn one into the other, and if you find gaps, ask how to fill them.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Infrastructure Monitoring

Searching for Saas Monitor service which monitor my servers which are sitting in different providers

Sorry if this is the wrong forum Searching for Saas Monitor service which monitor my servers which are sitting in different providers . This monitor tool will take as less CPU as possible , and will send info about the server to main Dashboard. The info I need is CPU / RAM / my servers status (... (1 Reply)
Discussion started by: umen
1 Replies

2. Shell Programming and Scripting

Matrix with Percentage

Hi ALL, I have below example INPUT 1 (i/p 1)|INPUT 2 (i/p 2)|OUTPUT (o/p) Bharat Bazar|Bharat Bazar|True Positive Binny's Sales|<BLANK>|False Negative <BLANK>|Binny's|False Positive <BLANK>|<BLANK>|True Negative Bharat bazar|Bharat|True Positive binny's|binny|True Positive where in... (18 Replies)
Discussion started by: nikhil jain
18 Replies

3. Shell Programming and Scripting

Percentage of occurence

Dear all, I have data like below and i need to add coloumn before the COUNT field to see the Percentage out of all COUNT field value for respective raw. ============================================= COUNT CODE sConnType tConnType... (6 Replies)
Discussion started by: Iroshan
6 Replies

4. Shell Programming and Scripting

Percentage calculation

i am trying to get percentage : but not able to do it: i tried : x=1 y=2 z=`expr $x/$y*100` it is not giving me result can u pls help on this (4 Replies)
Discussion started by: Aditya.Gurgaon
4 Replies

5. Hardware

Fedora 16 dual monitor - dual head - automatic monitor shutdown

Hi, I am experiencing troubles with dual monitors in fedora 16. During boot time both monitors are working, but when system starts one monitor automatically shut down. It happend out of the blue. Some time before when I updated system this happend but then I booted older kernel release and... (0 Replies)
Discussion started by: wakatana
0 Replies

6. UNIX for Dummies Questions & Answers

percentage

How to calculate percentage of two values in unix. (5 Replies)
Discussion started by: venkatesht
5 Replies

7. Linux

filesystem percentage

hi guys, im new in linux i need your help. my problem is how can i take the % here's the sample Available Used(%) Mounted On 1.2G 73% /var 299.3M 72% /home 520.3M 88% /home/file 164.8M 84% /home/prd 812.6M 79% ... (2 Replies)
Discussion started by: hdroid0326
2 Replies

8. Programming

how do I calculate percentage ?

int percent (int a, int b) { if (b/a*100 > 25) return TRUE; else return FALSE; } I want to calculate what percentage of a is b. say if b = 48, a = 100 so b is 48% of a but wouldnt b/a give me 0 ??? what can be done ?? (6 Replies)
Discussion started by: the_learner
6 Replies

9. UNIX for Dummies Questions & Answers

Computung Percentage

I wish to find % used using shell variables and am using the following USED=`expr $1\* 100 / $2`; But this does not take decimal portion of $1 . How to resolve? :( (2 Replies)
Discussion started by: preetikate
2 Replies
Login or Register to Ask a Question