09-27-2012
hi RudiC thanks for your replay
there is no process like sth but there is syslogd process
the package is install there it is also (syslog) started at boot we restart 2 days back
# ps -ef|grep sth
root 12130 12128 0 17:01:19 pts/1 0:00 grep sth
#ps -ef|grep sth
root 12130 12128 0 17:01:19 pts/1 0:00 grep sth
# ps -ef|grep syslogd
root 5780 1 0 Sep 25 ? 0:00 /usr/sbin/syslogd
root 12134 12128 0 17:01:56 pts/1 0:00 grep syslogd
# pkginfo |grep -i sendmail
system SUNWsndmr Sendmail (root)
system SUNWsndmu Sendmail (/usr)
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
Which command in unix can tell whether a file is being used/written by another process.
e.g. If one process is copying a very big file in some directory and there is another cronjob process which checks for a new file and in this directory and process the file. I want to check, if the... (4 Replies)
Discussion started by: sanjay92
4 Replies
2. Shell Programming and Scripting
Hello All
I am attempting to write a shell script (bourne shell script) which will copy a tar'd and compressed file from a directory to a staging area but will not know whether the file is still open for write since files are being ftp's to my site at random times during the day.
Once I am... (14 Replies)
Discussion started by: kanejm
14 Replies
3. Linux
I'm using growisofs to write DVD, e.g.
$ growisofs -Z /dev/dvd -V "Personal Data, `date +"%b, %d %Y"`" -R -J /mnt/d/*
How can I test whether data was written correctly? md5sum or so? (0 Replies)
Discussion started by: Hitori
0 Replies
4. Shell Programming and Scripting
I've just written a test harness using ksh.
One of scripts weighed in at 1206 lines.
I came across Eric Raymonds 'Art of Unix programming' on line and he advises against excessively large scripts.
I am very interested to hear people's opinions on this and any experiences they have had. (2 Replies)
Discussion started by: OFFSIHR
2 Replies
5. Shell Programming and Scripting
qwertyuiop (1 Reply)
Discussion started by: rorey_breaker
1 Replies
6. Shell Programming and Scripting
hello all
pls can anybody point me a direction of capturing 2 arguments: one a line of text the other is a file.
In paticular how can i get the file
so for exampls, i create a script called monalisa
monalisa this is an angel from the 7th heaven booboo
where monalisa is the script... (6 Replies)
Discussion started by: sam4now
6 Replies
7. Shell Programming and Scripting
Hi All,
I wrote the following script in R. However, i can not run it. Because the data file is so big. Therefore, i need to write it in shell script. Could you please help me?
######################################
data=as.matrix(read.table("data.txt"))... (3 Replies)
Discussion started by: senayasma
3 Replies
8. Programming
Just learned c language ,but I don't know where to start to write some applications under Linux ,I really appreciate it if anybody can help me find some books or sites on it. (2 Replies)
Discussion started by: hgdcjq
2 Replies
9. Programming
Subject: Debugging a program written in two languages
Platform: Linux (Kubuntu)
I am trying to debug a C application with bindings to some simple functions written in Ada using the GNAT Programming Studio IDE (GPS). The main entry point is in C. The debugger is gdb.
I managed to compile... (0 Replies)
Discussion started by: NiGHTS
0 Replies
10. UNIX for Advanced & Expert Users
Hi,
Its been a long time since i programmed a multithreaded application that can do Tx and Rx of datagrams over unix sockets.
I well remember that though the threads were efficiently designed to be independent of each other, and was writing to different sockets, there was a limitation ,... (0 Replies)
Discussion started by: binnyjeshan
0 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