7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Heya
Ever wanted to have some basic stats of your projects?
Like:
./stats.sh
########################################
Project stats for "tui"
########################################
260 kb in bin
24 kb in conf.etc
12 kb in conf.home
32 kb in docs/samples
176 kb in docs/wiki
280... (5 Replies)
Discussion started by: sea
5 Replies
2. Linux
Please help me with a shell script to get the stats on many subdirectories (sub1), (sub2) etc under a mother directory (big)
/big
|
|_______sub1
|_______sub2
|_______sub3
---------
I want to know
1. What is the last file accessed in each subdirectory with date and by whom
2.... (2 Replies)
Discussion started by: digipak
2 Replies
3. Shell Programming and Scripting
So, I have a php program that i need to delete ALL files in a directory that are older than a certain age.
<?php
/* Get file stat */
$stat = stat('/apps/security/ajaba');
This is as far as I've been able to get. I know in shell programming you can easily do something like this. but I'm... (2 Replies)
Discussion started by: SkySmart
2 Replies
4. Shell Programming and Scripting
Hi guys
I need a script that can ping a list of hosts and print the output to my homepage, with the result "running" or "dead".
I'm new in this so please be patient with me.
Can anybody help me? (1 Reply)
Discussion started by: NickB
1 Replies
5. AIX
Aix 5.3 I am trying to view the IO stats. I do the sar 5 5 but that is the WIO and si different than the IO stats right? I am just blanking on this. I know there is a command that I used to run that brings up a whole bunch of live stats that run live such as mem and so on just can't rememeber... (4 Replies)
Discussion started by: rocker40
4 Replies
6. AIX
I recieved this out put below soemhow. Unfortunatly I did not write down the command I used to get it. Can someone tell me what command I use to gather these stats?
OS = AIX 5.3 64Bit
System Model: IBM,7026-6H1
Machine Serial Number:... (2 Replies)
Discussion started by: rocker40
2 Replies
7. UNIX for Advanced & Expert Users
What do others use for measuring I/O statistics? I'd like something versatile, as in being able to watch (like iostat, but easier to trend), generate load (like iozone, but more realistic), and perform somewhat generalized benchmarks (like bonnie, but more current.) It would scale from a few... (0 Replies)
Discussion started by: LivinFree
0 Replies
LEARN ABOUT DEBIAN
cf-monitord
cf-monitord(8) System Manager's Manual cf-monitord(8)
NAME
cf-monitord - cfengine's monitoring agent
SYNOPSIS
:
cf-monitord [options]
DESCRIPTION
:
The monitoring agent is a machine-learning, sampling daemon which learns the normal state of the current host and classifies new observa-
tions in terms of the patterns formed by previous ones. The data are made available to and read by cf-agent for classification of responses
to anomalous states. cfengine is a self-healing configuration and change management based system. You can think of cfengine as a very high
level language, much higher level than Perl or shell. Asingle statement is called a promise, and compliance can result in many hundreds of
filesbeing created, or the permissions of many hundreds offiles being set. The idea of cfengine is to create a one or more sets of configu-
ration files which willclassify and describe the setup of every host in a network.
COMMAND LINE OPTIONS
:
--help, -h
Print the help message
--debug, -d
Set debugging level 0,1,2,3
--verbose, -v
Output verbose information about the behaviour of the agent
--dry-run, -n
All talk and no action mode - make no changes, only inform of promises not kept
--version, -V
Output the version of the software
--no-lock, -K
Ignore system lock
--file, -f
Specify an alternative input file than the default
--inform, -I
Print basic information about changes made to the system, i.e. promises repaired
--diagnostic, -x
Activate internal diagnostics (developers only)
--no-fork, -F
Run process in foreground, not as a daemon
--histograms, -H
Ignored for backward compatibility
--tcpdump, -T
Interface with tcpdump if available to collect data about network
AUTHOR
Mark Burgess and CFEngine AS
INFORMATION
Bug reports: http://bug.cfengine.com, .PP Community help: http://forum.cfengine.com
Community info: http://www.cfengine.com/pages/community
Support services: http://www.cfengine.com
This software is Copyright (C) 2008-2013 CFEngine AS.
Maintenance Commands cf-monitord(8)