08-28-2009
Hi,
There isnt any -f option available. Issue resolved after stopped and restarted the /SP/console.
Thanks.
10 More Discussions You Might Find Interesting
1. Solaris
when I type start /SP/console... the console shows up but i cannot type anything over there. I do not understand what might be the reason for that.
-> start /SP/console
Are you sure you want to start /SP/console (y/n)? y
Serial console started. To stop, type ESC (
I pressed enter many... (8 Replies)
Discussion started by: bharu_sri
8 Replies
2. UNIX for Advanced & Expert Users
We are using software (Pegasys) which runs on SunOS 5.8 and reads images from a Philips nuclear camera. The software is designed to run from the console. I need to be able to capture the images it produces on the display. The caveat is that I cannot use the X Windows display because the X Server... (3 Replies)
Discussion started by: sreyes27
3 Replies
3. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
4. UNIX for Dummies Questions & Answers
:confused:Hi
This was installed on the Linux box a few weeks back by a guy that no longer works for us. All worked fine until last week. Now when we connect its just a blank screen with no icons.
I get a whole bunch of errors when starting the service too:
Tue Feb 23 14:29:45 2010
... (1 Reply)
Discussion started by: wbdevilliers
1 Replies
5. Solaris
Hi, The system is Sun x4150. I use putty ssh to access to it. I can't start system console:
(hung)
Any help will be greatly appreciated! (5 Replies)
Discussion started by: aixlover
5 Replies
6. Shell Programming and Scripting
Hello.
Normally when you double click on the file name, the shell script start in background.
If you want to see what is going on, you must open a terminal console and start the shell within the terminal.
Is it possible to start directly a shell script in a terminal console from the file... (0 Replies)
Discussion started by: jcdole
0 Replies
7. Solaris
Here is issue...
bash-3.00# svcs system/webconsole:console
STATE STIME FMRI
maintenance 1:15:54 svc:/system/webconsole:console
bash-3.00# svcadm clear svc:/system/webconsole:console
bash-3.00# svcs -a |grep /system/webconsole
offline* 1:20:44... (0 Replies)
Discussion started by: lingeshwaran
0 Replies
8. Solaris
Hi Oracle Hardware Specialists,
I have shutdown a Sun Fire X2200 server running Solaris 10 x86 to single user mode to experiment some backup commands using Web based Sun embedded Lights Out Manager Redirection to open up a console session. However, it is not possible to copy & past text with... (7 Replies)
Discussion started by: gjackson123
7 Replies
9. Solaris
Hi
I have a server previously configured, that was given to me, but on attempt to start the console, it hangs.
firstly I did:
start /SYS
them:
start /SP/console
then it says that its starting, but nothing happens....waited and waited
Can you give me hint (5 Replies)
Discussion started by: fretagi
5 Replies
10. UNIX for Beginners Questions & Answers
When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies
LEARN ABOUT LINUX
restart_syscall
RESTART_SYSCALL(2) Linux Programmer's Manual RESTART_SYSCALL(2)
NAME
restart_syscall - restart a system call after interruption by a stop signal
SYNOPSIS
int restart_syscall(void);
Note: There is no glibc wrapper for this system call; see NOTES.
DESCRIPTION
The restart_syscall() system call is used to restart certain system calls after a process that was stopped by a signal (e.g., SIGSTOP or
SIGTSTP) is later resumed after receiving a SIGCONT signal. This system call is designed only for internal use by the kernel.
restart_syscall() is used for restarting only those system calls that, when restarted, should adjust their time-related parameters--namely
poll(2) (since Linux 2.6.24), nanosleep(2) (since Linux 2.6), clock_nanosleep(2) (since Linux 2.6), and futex(2), when employed with the
FUTEX_WAIT (since Linux 2.6.22) and FUTEX_WAIT_BITSET (since Linux 2.6.31) operations. restart_syscall() restarts the interrupted system
call with a time argument that is suitably adjusted to account for the time that has already elapsed (including the time where the process
was stopped by a signal). Without the restart_syscall() mechanism, restarting these system calls would not correctly deduct the already
elapsed time when the process continued execution.
RETURN VALUE
The return value of restart_syscall() is the return value of whatever system call is being restarted.
ERRORS
errno is set as per the errors for whatever system call is being restarted by restart_syscall().
VERSIONS
The restart_syscall() system call is present since Linux 2.6.
CONFORMING TO
This system call is Linux-specific.
NOTES
There is no glibc wrapper for this system call, because it is intended for use only by the kernel and should never be called by applica-
tions.
The kernel uses restart_syscall() to ensure that when a system call is restarted after a process has been stopped by a signal and then
resumed by SIGCONT, then the time that the process spent in the stopped state is counted against the timeout interval specified in the
original system call. In the case of system calls that take a timeout argument and automatically restart after a stop signal plus SIGCONT,
but which do not have the restart_syscall(2) mechanism built in, then, after the process resumes execution, the time that the process spent
in the stop state is not counted against the timeout value. Notable examples of system calls that suffer this problem are ppoll(2),
select(2), and pselect(2).
From user space, the operation of restart_syscall() is largely invisible: to the process that made the system call that is restarted, it
appears as though that system call executed and returned in the usual fashion.
SEE ALSO
sigaction(2), sigreturn(2), signal(7)
Linux 2014-12-31 RESTART_SYSCALL(2)