There is no problem with your loop itself.
The value of your variable $filesystems is interpreted as 1 value, not 2 which are separated by a blank. So your for-loop will take it as 1 value instead of 2. To fix this, you can add the following line
in the head of your script and try again.
Hi folks,
how can i check apache threshold values via shell scripting and what factors need to check via shell scripting process or number of users or what.
pls do advice me.
Thanks,
Bash (9 Replies)
Hi All,I wish to check the quota of the system and if it increases the threshold value,I need that a mail is shot to the environment user informing hi/her about the same.I know it can be done using cron jobs and warnquota command but I am unable to implement it as I am not acquianted with both... (1 Reply)
Hi All,
I wish to check the quota of the system and if it increases the threshold value,I need that a mail is shot to the environment user informing hi/her about the same.
I know it can be done using cron jobs and warnquota command but I am unable to implement it as I am not acquianted with... (1 Reply)
Hi experts,
I found-
$ tail -f /var/adm/messages
....
....
Jan 17 05:16:31 server01b last message repeated 6 times
Jan 17 05:17:05 server01c ufs: NOTICE: alloc: /var/fileserver:file system full
but I checked with df -k and found /var/fileserver is only 49% is used. It means... (7 Replies)
Hi,
I have a table with 14 columns. How can I filter the columns 2-14, so that I get only those rows back in which the data values are >= 6 in 5 or more columns. :confused:
E.g.
A 6 6 3 6 7 8
B 1 2 3 4 5 5
C 2 2 2 6 7 8
Here I should only get back the row A.
I would like to work from... (5 Replies)
Hi there,
Root filesystem is above threshold, I have search and cleared unwanted files which are filling up space. But the root fs is still above threshold.
I don't know about veritas volume management. Can anyone show me how to solve this. Du shows /proc is occupying a lot of space. Most of the... (2 Replies)
i have two big file which have thousand of line.
i have to sort on two key fields then diff the file.
if the interger value of one of the column is less then or greater then 1 it should ignore it.
for example
File1
abc|7000|jhon|2.3
xyz|9000|sam|6.7
pqr|8000|kapi|4.6
File2... (11 Replies)
hi guys
the monitoring team is using a tool for monitoring linux boxes and they set an alarm for swap memory to 10%(critical) I really has no idea when swap memory usage is high....
Can someone recommend me a threshold for this? when is warning or critical and this parameters can affect... (3 Replies)
Discussion started by: karlochacon
3 Replies
LEARN ABOUT HPUX
acctsuspend
acctsuspend(5) File Formats Manual acctsuspend(5)NAME
acctsuspend, acctresume - suspend and resume accounting when available disk space reaches threshold
VALUES
Failsafe
Default.
Default
acctsuspend:
acctresume:
Allowed values
acctresume:
acctsuspend:
Recommended values
acctsuspend:
acctresume: (But more than acctsuspend)
DESCRIPTION
The and tunables control when accounting stops and resumes due to disk space constraints. When free disk space on the file system being
used by accounting reaches the suspension threshold, which is the percentage relative to the percentage of disk space available only to the
superuser, accounting is suspended until such time as the free disk space reaches the resumption threshold, which is the percentage rela-
tive to the percentage of disk space available only to the superuser.
Note: Since the and values are specified relative to the percentage of disk space available only to the superuser, negative values
of these parameters can make sense. For example, if the superuser has reserved 10 percent of the disk space on the file system at
file system creation time, and acctsuspend is -5 and acctresume is 0, the suspension threshold will be 5 percent of the total disk
space and the resumption threshold will be 10 percent of the total disk space.
Who Is Expected to Change This Tunable?
Anyone using accounting.
Restrictions on Changing
Changes to this tunable take effect at the next reboot.
When Should the Value of This Tunable Be Raised?
Increasing either variable should be considered when it is necessary to maintain a higher percentage of free space on the accounting
filesystem.
What Are the Side Effects of Raising the Value of This Tunable?
The higher either value is, the less accounting data may be captured. The further the values are separated, the greater the amount of
potentially lost accounting data.
When Should the Value of This Tunable Be Lowered?
If additional disk space is needed for accounting data, and it cannot be obtained by moving files off of the filesystem, then the value of
should be lowered.
What Are the Side Effects of Lowering the Value of This Tunable?
Filesystem performance (writing accounting records) decreases as the filesystem fills up. In turn, this will decrease the overall perfor-
mance of accounting processes.
What Other Tunables Should Be Changed at the Same Time?
When changing either of these tunables, both should be considered.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
and were developed by HP.
SEE ALSO accton(1M).
Tunable Kernel Parameters acctsuspend(5)