Technical Q&A: Programmatically causing restart, shutdown and/or logout


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements UNIX and Linux RSS News Technical Q&A: Programmatically causing restart, shutdown and/or logout
# 1  
Old 01-25-2008
Technical Q&A: Programmatically causing restart, shutdown and/or logout

QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

Logs & Lists to Save before httpd restart when web server freezes?

Hello... We keep having a problem with the httpd freezing and users getting time outs. I am not the Sys Admin but since I am the 1st one in, I have to restart the httpd server. Is there a list of items I should collect before I restart in order to help with trouble shooting? I currently... (3 Replies)
Discussion started by: djlerman
3 Replies

2. Linux

Delay gnome shutdown/restart

Hi to all. My first message here, but i following you via twitter feed from many time... The question: I need to delay 5-10 seconds the shutdown command executed when the user click on the power off/reboot in their session or at login screen. I need that because i have in the background a... (18 Replies)
Discussion started by: mendez
18 Replies

3. Shell Programming and Scripting

sftp + expect: disconnection & restart removes already transfered data.

I have an ftp statement that when it restarts, it will write over the top of the file at the other end, rather than append to the file part sitting at the destination. This is a problem because the flaky connection fails so regularly that the 2GB file I try to transfer will never complete. ... (2 Replies)
Discussion started by: rupert160
2 Replies

4. Emergency UNIX and Linux Support

Shutdown to a Halt and restart

I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Discussion started by: hedkandi
16 Replies

5. Shell Programming and Scripting

Any key press causing logout from shell

Hi all! I have written a shell script which will invoke perl script infinitly in the background in a loop. Code will do as:Within while loop, perl script will be run in background, get the pid and notify pid in though mail. then wait for pid to be completed before going for next iteration. I am... (1 Reply)
Discussion started by: jramesh1
1 Replies

6. Solaris

Restart/Shutdown the Solaris from SC>

Hi Experts, I am running solris 9. Sun-Fire 880. How do i shutdowon the whole server using ALOM i.e sc> console. If the server is down or somehow hang How do i Restart from sc> //purple (6 Replies)
Discussion started by: thepurple
6 Replies

7. UNIX for Advanced & Expert Users

warnings @ system start & shutdown

Hi, I'm having this Ultra5 system with Solaris10 on it. And when its booting, I get this warning 3 times and the system wait a considerable amount of time there before proceeding. WARNING: add_spec: No major number for fp And when its shutting down, I get this: Shutdown: RPC: Program not... (1 Reply)
Discussion started by: chaandana
1 Replies

8. UNIX for Dummies Questions & Answers

logout/shutdown script

I am running JDictd (http://www.informatik.uni-leipzig.de/~duc/Java/JDictd/) from tcsh in Terminal on Mac OS X (:=Darwin=FreeBSD/Mach). I am trying to get it to exit cleanly silently upon Mac OS X system shutdown. My idea was that if there was a logout script in FreeBSD (basically a script... (1 Reply)
Discussion started by: ropers
1 Replies
Login or Register to Ask a Question
idevicediagnostics(1)					      General Commands Manual					     idevicediagnostics(1)

NAME
idevicediagnostics - Interact with the diagnostics interface of a device. SYNOPSIS
idevicediagnostics [OPTIONS] COMMAND DESCRIPTION
Interact with the diagnostics interface of a device which allows to retrive all kinds of information including diagnostics data, mobi- legestalt data, remote access to the IORegistry and certain commands like restart, shutdown and sleep. Only available for iOS 4 and later. Accessing IORegistry is only supported on iOS 5 and later. OPTIONS
-u, --udid UDID target specific device by its 40-digit device UDID. -d, --debug enable communication debugging. -h, --help prints usage information. COMMANDS
diagnostics [TYPE] print diagnostics information from device optionally by TYPE. This includes "All", "WiFi", "GasGauge" or "NAND". Default is "All". mobilegestalt KEY [...] print values of mobilegestalt keys passed as arguments after the command and seperated by a space. ioreg [PLANE] print IORegistry of device, optionally by PLANE like "IODeviceTree", "IOPower" or "IOService". Only available on iOS 5 and later. shutdown shutdown device restart restart device sleep put device into sleep mode which also disconnects it from the host. AUTHORS
Martin Szulecki idevicediagnostics(1)