12-26-2007
ps: no controlling terminal
Any one know the below means :
ps: no controlling terminal
I had run a script in background :
nohup ./benchmark.sh &
and shutdown my windows system from where i connected through SSH
I am using bash:
The above script perfoms various tasks of Benchmarking Repositories
Today the output the of nohup.out Say's :
tail -f nohup.out
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
ps: no controlling terminal
keeps occuring .....
Let me know any of guys faced this.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I just changed from windows NT to XP and I am no longer able
to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies
2. UNIX for Dummies Questions & Answers
I support an app that outputs alert and audit messages to one log file (vendor says they can't be separated). The script that I have written takes a copy (mv cmd) of the file to do the separation and reformatting. I have a problem that I loose records (messages are being written constantly, upto 3+... (5 Replies)
Discussion started by: nhatch
5 Replies
3. Programming
What is controlling terminal in the case of daemon process? (2 Replies)
Discussion started by: Madhu Babu
2 Replies
4. Filesystems, Disks and Memory
Hi guys,
Can anyone please tell me how I can control the I/O on my hardware devices in Suse Linux 8.1.
I find that everytime I am reading a CD, or copying from a CD, I am unable to listen to music of watch a movie.
Maybe this is intended to be like so, for the current high street technolgy... (1 Reply)
Discussion started by: bionicfysh
1 Replies
5. Programming
Hello all, I am trying to create n child processes and control them from a parent process; say make child 3 print its pid and then child 5 do the same and some other stuff. Is there a way to accomplishing this after all the child processes are created via a call to fork().
Thank you,
FG (23 Replies)
Discussion started by: forumGuy
23 Replies
6. Shell Programming and Scripting
I have created a ksh shell script and used it as a login shell for a user.
</etc/passwd>
lramirev:x:111:200:Luis:/export/home/menush:/usr/local/menush/menush
My shell script is like this:
</usr/local/menush/menush>
#!/bin/ksh
#
if ]
then
. $HOME/.profile
fi
... (8 Replies)
Discussion started by: lramirev
8 Replies
7. UNIX for Dummies Questions & Answers
Hi all...
Consider me a dummy here...
I do not want any code or for anyone to show me how to do it at this time, but here is the question:-
I have had this brainstorm to be able to control the AudioScope.sh program in the "Shell Scripting And Programming" forum...
Is it possible, by... (4 Replies)
Discussion started by: wisecracker
4 Replies
8. Red Hat
Why does removing "rhgb quiet" from the kernel boot parameters control whether or not the commands I enter are displayed in single user mode ?
For instance, if I do not remove "rhgb quiet", when I am in single user mode, whatever command I type will not be displayed on the screen.
The... (0 Replies)
Discussion started by: Hijanoqu
0 Replies
9. Shell Programming and Scripting
I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies
10. Shell Programming and Scripting
Hello All,
I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly.
Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
LEARN ABOUT HPUX
tcsetpgrp
tcsetpgrp(3C) tcsetpgrp(3C)
NAME
tcsetpgrp() - set foreground process group id
SYNOPSIS
DESCRIPTION
If the calling process has a controlling terminal, sets the foreground process group ID associated with the terminal referenced by fildes
to pgrp_id. The file associated with fildes must be the controlling terminal of the calling process and the controlling terminal must be
currently associated with the session of the calling process. The value of pgrp_id must match a process group ID of a process in the same
session as the calling process.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, returns -1 and sets to indicate the error.
ERRORS
fails if any of the following conditions are encountered:
[EBADF] fildes is not a valid file descriptor.
[EINVAL] The value of the pgrp_id argument is not supported.
[ENOTTY] The calling process does not have a controlling terminal, or the fildes is not the controlling terminal, or the con-
trolling terminal is no longer associated with the session of the calling process.
[EPERM] The value of pgrp_id is a supported value but does not match the process group ID of a process in the same session as
the calling process.
SEE ALSO
setpgid(2), setsid(2), tcgetpgrp(3C), thread_safety(5), termio(7).
STANDARDS CONFORMANCE
tcsetpgrp(3C)