RMA for Sparc Solaris
-
- Posts: 5
- Joined: Thu Mar 25, 2004 10:37 am
RMA for Sparc Solaris
I'm testing the RMA for SPARC and I've found some issues already. First, the cpu.sh is using SAR, which doesn't run unless you setup your systems for performance statistics. I changed the script to use vmstat like the other Unix OS's, and it works great.
SunOS) vmstat 1 2 | tail -1 | awk '{print 100-$NF}';;
Also, I have some large UFS filesystems (connected to a Clariion) that are showing UNC percentages wrong. One of them indicates 189% available. It should be showing 12%. I have another indicating 49% available, when it should be 6%. How does the RMA calculate free space?
SunOS) vmstat 1 2 | tail -1 | awk '{print 100-$NF}';;
Also, I have some large UFS filesystems (connected to a Clariion) that are showing UNC percentages wrong. One of them indicates 189% available. It should be showing 12%. I have another indicating 49% available, when it should be 6%. How does the RMA calculate free space?
Thank you for correctionSunOS) vmstat 1 2 | tail -1 | awk '{print 100-$NF}';;
RMA for SunOs uses code likeAlso, I have some large UFS filesystems (connected to a Clariion) that are showing UNC percentages wrong. One of them indicates 189% available. It should be showing 12%. I have another indicating 49% available, when it should be 6%. How does the RMA calculate free space?
Code: Select all
struct statvfs statbuf;
if (statvfs(path, &statbuf)==0)
{
long int blocksize = (statbuf.f_frsize>0)?(statbuf.f_frsize):(statbuf.f_bsize);
total = statbuf.f_blocks * blocksize;
free = statbuf.f_bfree * blocksize;
freeforuser = statbuf.f_bavail * blocksize;
return True;
}
else return False;
How big is your filesystem?
Regards
Alex
-
- Posts: 5
- Joined: Thu Mar 25, 2004 10:37 am
-
- Posts: 2
- Joined: Sun Jan 23, 2005 9:08 am
Any updates?
Hi
I am really interested to know the outcome of this thread.
I just setup the RMA 0.80 for Solaris agent to run on my solaris 9 box. However hostmon is reporting different disk capacity results than the solaris.
Filesystem (8GB):
HM indicates 71% available, or 2851MB
SunOS indicates 86% available, or 6866MB
I am really interested to know the outcome of this thread.
I just setup the RMA 0.80 for Solaris agent to run on my solaris 9 box. However hostmon is reporting different disk capacity results than the solaris.
Filesystem (8GB):
HM indicates 71% available, or 2851MB
SunOS indicates 86% available, or 6866MB
-
- Posts: 2
- Joined: Sun Jan 23, 2005 9:08 am
Hi thanks for the prompt reply!
i'm very sorry but telnet/ftp access is not allowed. However , if u'd like me to compile the RMA code on the sparc server (or any code relating to this issue), i'd be more than willing. I've also sent an email to support@ks-soft.net about that possibility..
i'm very sorry but telnet/ftp access is not allowed. However , if u'd like me to compile the RMA code on the sparc server (or any code relating to this issue), i'd be more than willing. I've also sent an email to support@ks-soft.net about that possibility..