This process is a background process with a PPID of 1 . I suspect the the first "ps" in your script picked up the script or program which started the process "/install/new/application". That isn't in a cron as well is it?
There are other minor issues in the script. You are doing a text compare when a numeric compare would be better. There is a spurious semi-colon near the end of the script. Your highlighed line does not need the echo. Indentation makes scripts easier to follow.
If the user is always "bhaire", "ps -fubhaire" is more efficient than "ps -ef".
Hello All.
I'm get the following messages posted to the /var/adm/syslog file ever second and not sure on how to stop the process.
May 14 15:50:52 a3360 bootpgw: version 2.3.5
May 14 15:50:52 a3360 inetd: /etc/bootpgw exit 0x1
As said about this gets logged every second only thing that... (4 Replies)
Hi,
Can anyone suggest a Unix command or c-shell algorithm to simulate to behavior of "wall" command minus the "all users"? What I'm trying to do is to send a notice to just one particular user but i dont want other remotely-logged-on users to receive the message (on the pseudo-terminals). I... (6 Replies)
heya,
can someone help me with following problem.
i am not sure how far you know the catalina.sh script from tomcat. when i start my tomcat with "catalina.sh run" then the startup-process-output will be printed out on the console, but the tomcat process is started in current shell/session, so... (1 Reply)
Does anyone know if this is possible?
I want to give some users access to root's crontab but only with a read privilege.
Is this possible to do or can only root or people with full root sudo view root's cron? (4 Replies)
hi,
I've read different posts regarding crontab but none helped out...the shell scrip that I want to run through crontab gets run through crontab when I use the following crontab statement:
13 17 * * * /usr/net/gcc/DBdrop.sh > /usr/net/gcc/DBdrop.log 2>&1
but it does not run when I scheduel... (2 Replies)
the script is in Perl... this is one part of it:
$command = "echo \"$text\" | /usr/bin/nail -s \"My $text1\" $ccstr$addstr";
system("$command") if length($bodytext)>1;
crontab runs the script and sends me notifications but i cant receive any mail that i wanted!
I'm using the complete path... (1 Reply)
I need a shell script using expect to login to couple of remote servers and read "crontab -l -u <username>" & "cat /etc/rc.local" & "df -h" and able to create output into a file saved locally with hostname.crontab & hostname.rc.local & disk.status. I can supply a file as list of hostname or IP... (4 Replies)
Please can you help me understand the significance of providing arguments under sh -s in
> ssh -qtt ${user}@${host} "sh -s "${version}"" < test.sh (4 Replies)
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
I am looking t run root level command on multiple servers, but all servers have only "su - " permission available in sudoers.
please help me if any way that I can run command using help of "su -"
My script
for hosts in `cat hosts.txt`;
do
echo "###########################Server Name-... (5 Replies)
Discussion started by: yash_message
5 Replies
LEARN ABOUT REDHAT
install-hinote
install-hinote(1) General Commands Manual install-hinote(1)NAME
install-hinote - installs a new Hi-Note in a Palm Device
SYNOPSIS
install-hinote -p <port> filename [filename filename ...] -c <category>
DESCRIPTION
install-hinote allows the user to write one or more files as a new Hi-Note or into the Hi-Notes Palm application itself, on the Palm hand-
held device. Please see http://www.cyclos.com/ for more information on Hi-Note.
OPTIONS
-p --port <port>,
Use device file <port> to communicate with the Palm handheld device. If this is not specified, will look for the $PILOTPORT environ-
ment variable. If both are not found, will fall back to /dev/pilot
-h --help
Display help synopsis for install-hinote
-v --version
Display version of install-hinote
-c --category <category>,
Write files to <category> in the Hi-NOte application
USAGE
The program will connect to a target Palm handheld device, and writes the file or files given on the command line into the Hi-Note applica-
tion.
KNOWN BUGS
The Palm Device may have a maximum length on Hi-Note sizes.
REPORTING BUGS
Report bugs at http://bugs.pilot-link.org/
AUTHOR
install-hinote was written by Bill Goodman <bgoodman@cyclos.com>
Free Software Foundation Palm Computing Device Tools install-hinote(1)