or
Or a combination
Or just keep it all and have your syslog.conf set to put it all in a different file, then manage it via logadm etc to keep the size under control.
Hi I have a command in a script .
/usr/bin/iostat -E
I would like to place an entry in /var/adm/messages (via syslog) as a daemon.notice using the logger command but i just cant work out the syntax for this , do I pipe the output of iostat into logger? or is it redirected...can somebody give me... (1 Reply)
I want to program my own key logger to register every key pushed on my system... could i record clicks?
Well, my question in fact is not one at all... because i dont have a starting point. I'll appreciate your bases :(.
ty. (5 Replies)
Hi all,
Does anyone know if there is a tool in the market that could do the following when System Admin log to the server as root and perform activities according to his change request:
- trap or log his keystroke for the entire duration
- provide a report on the changes SA has made to the... (3 Replies)
When inserting a temperature logger into a Centos 7.0 machine, the relevant dmesg lines read:
usb 2-1.4: new full-speed USB device number 4 using ehci-pci
usb 2-1.4: New USB device found, idVendor=10c4, idProduct=82cd
usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb... (5 Replies)
Hi,
On RHEL 7.2, I created below script in cronjob for every minute. If this process is found to be not running, it should record message in /var/adm/xymessages, start it and send email.
#!/bin/bash
source /export/home/prodadm/.bash_profile
if ;
then
... (8 Replies)
Discussion started by: ron323232
8 Replies
LEARN ABOUT NETBSD
zegrep
ZGREP(1) BSD General Commands Manual ZGREP(1)NAME
zgrep, zegrep, zfgrep -- print lines matching a pattern in gzip-compressed files
SYNOPSIS
zgrep [grep-flags] [--] pattern [files ...]
zegrep [grep-flags] [--] pattern [file ...]
zfgrep [grep-flags] [--] pattern [file ...]
DESCRIPTION
zgrep runs grep(1) on files or stdin, if no files argument is given, after decompressing them with zcat(1).
The grep-flags and pattern arguments are passed on to grep(1). If an -e flag is found in the grep-flags, zgrep will not look for a pattern
argument.
zegrep calls egrep(1), while zfgrep calls fgrep(1).
EXIT STATUS
In case of missing arguments or missing pattern, 1 will be returned, otherwise 0.
SEE ALSO egrep(1), fgrep(1), grep(1), gzip(1), zcat(1)AUTHORS
Thomas Klausner <wiz@NetBSD.org>
BSD December 28, 2003 BSD