05-12-2009
Quote:
Originally Posted by
jlliagre
I have no script available but that would be trivial to write a oneliner called from the crontab to achieve that.
and that's why i was saying i'm not familiar at all with shell script. It is not trivial to me.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I looking for a very basic, script that monitors the load on the cpu and writes it to a text file.
Can anyone help please? (4 Replies)
Discussion started by: alpha_manic
4 Replies
2. UNIX for Advanced & Expert Users
Hi ,
How do i check that the CPU is online/offline in a multi CPU machine in Linux ?
i tired /proc/cpuinfo
dmesg
nothing gave me the currect CPU status.
Pls help !! (5 Replies)
Discussion started by: sars
5 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
Unix has the TOP and SAR command to monitor machine's performance. Can it be used in a script to alert if the cpu utilization is more than 80 or memory used is more than 90.
Is SAR preferable than TOP?
Please advise. (3 Replies)
Discussion started by: er_ashu
3 Replies
4. HP-UX
Hi Guys,
Hopefully someone would be able to help me out. Basically I have an HPUX 11.11i system which is backed up by Data Protector 4.5. Every so often the vdba process hangs and chews up 100% of one of the systems CPU resources. As our monitoring tool can only monitor on a per system basis... (3 Replies)
Discussion started by: fulhamfcboy
3 Replies
5. Solaris
Dear All master
We have Sunfire memory 16G memory and 8 Processor.
I install with Solaris 10,
but i think resource that use all proccess is very much,
I installed this machine 3 times, twice install Oracle the load process make machine is very slow.
in new install process like this,... (1 Reply)
Discussion started by: moslemovic
1 Replies
6. Linux
i m workiing on a shell script which may monitors network memory and send alert to user if it increase a threshold (1 Reply)
Discussion started by: navdeep5673
1 Replies
7. Shell Programming and Scripting
Hi all
can any one help me to script monitoring
CPU load avg when reaches threshold value
and disk usage if it exceeds some %
tried using awk but when df -h out put is in two different lines awk doesnt work for the particular output in two different line ( output for df -h is in two... (7 Replies)
Discussion started by: robo
7 Replies
8. Shell Programming and Scripting
Hi All,
There is a shell script that captures Memory status in AIX 6.1 64 bits!
I need it to be validated by shell script experts for the following:
Shell Script:
cat memusageAIX.sh
#!/usr/bin/ksh
#
# Memory usage under AIX
#
USED=`svmon -G | head -2 | tail -1 | awk '{ print $3... (1 Reply)
Discussion started by: a1_win
1 Replies
9. Shell Programming and Scripting
I am looking for a way to log and graphically display cpu and RAM usage of linux processes over time. Since I couldn't find a simple tool to so (I tried zabbix and munin but installation failed) I started writing a shell script to do so
The script file parses the output of top command through... (2 Replies)
Discussion started by: andy_dufresne
2 Replies
10. Linux
Viewers Please help me to get out of the below issue.. Thanks in advance
Required shell script for Monitoring status of the objects and it should update the child objects status as well.
Requirements:-
1. We are working on IIB (IBM Integration Bus v10) and trying to implement the broker ('... (0 Replies)
Discussion started by: dsreddy447
0 Replies
LEARN ABOUT FREEBSD
acl_is_trivial_np
ACL_STRIP_NP(3) BSD Library Functions Manual ACL_STRIP_NP(3)
NAME
acl_is_trivial_np -- determine whether ACL is trivial
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
int
acl_is_trivial_np(const acl_t aclp, int *trivialp);
DESCRIPTION
The acl_is_trivial() function determines whether the ACL pointed to by the argument acl is trivial. Upon successful completion, the location
referred to by the argument trivialp will be set to 1, if the ACL aclp points to is trivial, or 0 if it's not.
ACL is trivial if it can be fully expressed as a file mode without losing any access rules. For POSIX.1e ACLs, ACL is trivial if it has the
three required entries, one for owner, one for owning group, and one for other. For NFSv4 ACLs, ACL is trivial if it is identical to the ACL
generated by acl_strip_np(3). Files that have non-trivial ACL have a plus sign appended after mode bits in "ls -l" output.
RETURN VALUES
The acl_get_tag_type() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to
indicate the error.
SEE ALSO
acl(3), posix1e(3)
STANDARDS
POSIX.1e is described in IEEE POSIX.1e draft 17. Discussion of the draft continues on the cross-platform POSIX.1e implementation mailing
list. To join this list, see the FreeBSD POSIX.1e implementation page for more information.
HISTORY
POSIX.1e support was introduced in FreeBSD 4.0. The acl_is_trivial_np() function was added in FreeBSD 8.0.
AUTHORS
Edward Tomasz Napierala <trasz@FreeBSD.org>
BSD
November 12, 2013 BSD