Search Results

Search: Posts Made By: d-train
1,340
Posted By d-train
Thanks for the above code. Ultimately awk...
Thanks for the above code.

Ultimately awk came to the rescue again.

Cheers.
1,340
Posted By d-train
Unix Script Help - to grep an output and compute
Hi guys,

I'm not a frequent visitor of this site so please forgive if this has been asked before.

I'm trying to monitor the swap memory usage on my Solaris 10 Unix server.

The command I'm...
3,134
Posted By d-train
I will give it a shot and see how I go. ...
I will give it a shot and see how I go.

Thanks.
3,134
Posted By d-train
Hi guys, sorry to resurrect this thread but I...
Hi guys, sorry to resurrect this thread but I have an extended request to the previous solution.

Currently the code looks like this:

ps -ef -o pmem -o pid -o rss -o vsz -o args -o user | grep...
3,134
Posted By d-train
Thanks agama and rdcwayx. Both your...
Thanks agama and rdcwayx.

Both your solutions worked a treat.

Cheers guys.
3,134
Posted By d-train
Alright. It looks like it doesn't take into...
Alright. It looks like it doesn't take into account the percentage point.

For example, I tried with ">1.0", and the only row that echoed was a result that was "2.0".

Rows of for example "1.6,...
3,134
Posted By d-train
Thanks agama. I'm using Korn so gave the first...
Thanks agama. I'm using Korn so gave the first solution a try but it did not work:

#!/bin/ksh -x
ps -ef -o pmem -o pid -o rss -o vsz -o args -o user | grep 2 | grep -v "VSZ COMMAND" | sort |...
3,134
Posted By d-train
Memory check script
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...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 07:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy