Search Results

Search: Posts Made By: arorap
9,995
Posted By rbatte1
Hello again, Q1 The directory /tmp/vgdata...
Hello again,

Q1
The directory /tmp/vgdata is only created by a savevg (or mksysb) and is not in use during normal running. Not a problem to open volume groups, mounted filesystems etc.

Q2...
9,995
Posted By rbatte1
If you have an existing volume group that you...
If you have an existing volume group that you want to recover the structure for before restoring the content, then your can use savevg and restvg

In our site, we have created an exclude file for...
9,995
Posted By Scott
Is this a valid use of the -e option of mklv?: ...
Is this a valid use of the -e option of mklv?:

... -e x ...


You should also test for the success of mklv before proceeding to the next (crfs) command. That would save on unnecessary output...
Forum: Solaris 05-21-2013
51,013
Posted By bartus11
prstat -a
prstat -a
Forum: Solaris 05-21-2013
51,013
Posted By jlliagre
Be aware that "swap" means slightly different...
Be aware that "swap" means slightly different concepts depending on which one of these commands you use.

swap -l -> on disk swap area

swap -s -> virtual memory usage, includes RAM.
Forum: Solaris 05-21-2013
51,013
Posted By jim mcnamara
swap -l Shows you how swap is allocated and...
swap -l
Shows you how swap is allocated and used.

swap -s
Allows you to monitor swap free space, for example.
1,785
Posted By Yoda
Yes. [ -s mail_body ] condition is true when the...
Yes. [ -s mail_body ] condition is true when the file size is greater than zero.

For further reference check: Expressions used with if...
1,785
Posted By Yoda
> mail_body means the output is redirected to a...
> mail_body means the output is redirected to a file named: mail_body

In the 2nd step, the if statement is used to check if the file size is greater than zero and send mail if true.

By the way...
1,785
Posted By Yoda
You can simplify it a bit: ps auxw | sort -r +2...
You can simplify it a bit:
ps auxw | sort -r +2 | awk 'BEGIN{print "%CPU","USER"}/anonymous/&&$3>5.0{print $3,$1}' > mail_body

[ -s mail_body ] && mail -s "%CPU > 5.0" < mail_body
Showing results 1 to 9 of 9

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