03-27-2013
7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want a one liner perl command to find a directory only if the modified time is within the last hour
I am running this on windows - and I will define a variable for the result.
So for example I want to return value of 1 for the variable if the modified time of d:\test1 is within the last... (0 Replies)
Discussion started by: frustrated1
0 Replies
2. Solaris
Folks,
I need to find out from the system logs ( or elsewhere ) if the CPU utilization reached say 90% an hour ago from now.
Is there a way out. (2 Replies)
Discussion started by: kavera
2 Replies
3. Shell Programming and Scripting
trying to find a way to locate files modified in the last hour in a shell script, unfortunately the command 'find . -mmin -60' is not supported on SunOS 5.10 (works on OpenSolaris 5.11 :mad:)
Does anyone know a method of doing this in shell script on 5.10?
cheers (19 Replies)
Discussion started by: rich@ardz
19 Replies
4. UNIX for Dummies Questions & Answers
HP Unix Version: HP-UX B.11.31 U ia64
Question
I look for script or command to find files which are older than one hour.
Tried below;
# set the file time to 1 hours ago
touch -t 201307160700 ./touchfile
find /app/grid/product/11.2.0.3/rdbms/audit -name '*.aud' -type f ! -newer... (4 Replies)
Discussion started by: Siva SQL
4 Replies
5. Shell Programming and Scripting
Hi Friends,
Can we have an alternate command to list last 1hour files with out FIND command?
Thanks
Suresh (6 Replies)
Discussion started by: suresh3566
6 Replies
6. Shell Programming and Scripting
Hi Gurus,
I want to find the file created within one hour in solaris.
I have tried below command, but it is no lucky.
$find . -mtime -1/24, -name "abc*"
above command give me the file name which created two hours ago
find . -cmin -60, -name "abc*"
above command I got error as... (4 Replies)
Discussion started by: ken6503
4 Replies
7. Shell Programming and Scripting
Hi,
Out of a list of files in a directory, I want to find the files which were created/modified more than 1 hour ago. I am using HP -UNIX and it does not support the argument -mmin. Please advise.
I am using # !/bin/sh (4 Replies)
Discussion started by: jhilmil
4 Replies
LEARN ABOUT DEBIAN
munin-run
MUNIN-RUN(1p) User Contributed Perl Documentation MUNIN-RUN(1p)
NAME
munin-run - A program to run Munin plugins from the command line
SYNOPSIS
munin-run [options] <plugin> [ config | autoconf | snmpconf | suggest ]
DESCRIPTION
munin-run is a script to run Munin plugins from the command-line. It's useful when debugging plugins, as they are run in the same
conditions as they are under munin-node.
OPTIONS
--config <configfile>
Use <file> as configuration file. [/etc/munin/munin-node.conf]
--servicedir <dir>
Use <dir> as plugin dir. [/etc/munin/plugins/]
--sconfdir <dir>
Use <dir> as plugin configuration dir. [/etc/munin/plugin-conf.d/]
--sconffile <file>
Use <file> as plugin configuration. Overrides sconfdir. [undefined]
--paranoia
Only run plugins owned by root and check permissions. [disabled]
--help
View this help message.
--debug
Print debug messages. Debug messages are sent to STDOUT and are prefixed with "#" (this makes it easier for other parts of munin to
use munin-run and still have --debug on). Only errors go to STDERR.
--pidebug
Plugin debug. Sets the environment variable MUNIN_DEBUG to 1 so that plugins may enable debugging. [disabled]
--version
Show version information.
FILES
/etc/munin/munin-node.conf
/etc/munin/plugins/*
/etc/munin/plugin-conf.d/*
/var/run/munin/munin-node.pid
/var/log/munin/munin-node.log
VERSION
This is munin-run (munin-node) v2.0.6-4+deb7u2
$Id$
AUTHORS
Audun Ytterdal, Jimmy Olsen, Tore Anderson, Nicolai Langfeldt.
BUGS
Please see http://munin-monitoring.org/report/1 <http://munin-monitoring.org/report/1>.
COPYRIGHT
Copyright (C) 2002-2009 Audun Ytterdal, Jimmy Olsen, Tore Anderson, Nicolai Langfeldt / Linpro AS.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program is released under the GNU General Public License
perl v5.14.2 2013-11-12 MUNIN-RUN(1p)