Sponsored Content
Top Forums Shell Programming and Scripting Pause processes in remote host and resume execution in another remote host Post 302866241 by MadeInGermany on Monday 21st of October 2013 03:52:55 PM
Old 10-21-2013
No, not possible in Unix, especially not 5. "resume".
The experimental OS "plan9" has such features.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to specify the remote host?

Hi, I want to compare 2 set of dierectories, one is current host, other in remote, I am tring like this: diff $HOSTTOBACKUPH:$SOURCEHR $DR_BACKUP_DIR_H/hourly.0 I am getting fowlling error> diff: ctlrws123:/home/arbuser/temp2/mscdr/sor_d: No such file or directory how to specify the... (2 Replies)
Discussion started by: redlotus72
2 Replies

2. Solaris

How to delete the files from local host to remote host

Hi all, i am copying .gz files from production server to development server using "scp" command.my requirement is after copying .gz files i want to delete old .gz files(two days back) in development server from production server. like this way i need to delelte .log ,.z and .dmp files... (3 Replies)
Discussion started by: krishna176
3 Replies

3. Shell Programming and Scripting

Reading from Remote Host

Hi I have a different architecture for my perl application. I have apache one server and data on another(not database). i need to read the data from other machine and that too securely. Also opening ports on apache machine is also restricted. Can anyone help me on this (2 Replies)
Discussion started by: Aditya_IT
2 Replies

4. Shell Programming and Scripting

ssh to a remote host

i want a script with expect or perl or shell which will do ssh to remote host...it will take commandline argument and run the script in remote host....... i.e that will be like ./ssh.exp remoteip username passwd /tmp.kk.sh can someone help me on this? (1 Reply)
Discussion started by: Aditya.Gurgaon
1 Replies

5. Shell Programming and Scripting

Run a shell script from one host which connext to remote host and run the commands

I want to write a script which would run from one host say A and connect to other remote host B and then run rest of commands in that host. I tried connecting from A host to B with SSH but after connecting to host B it just getting me inside Host B command prompt. Rest of the script is not running... (6 Replies)
Discussion started by: SN2009
6 Replies

6. Shell Programming and Scripting

running commands to remote host from centralized host

Gurus/Experts We have a centralized UNIX/Solaris server from where we can actually ssh to all other UNIX/Solaris servers...I need to write a script that reside on this centerlized server and do FileSystem monitoring (basically run df -h or -k) of other remote servers and then send an email to me... (6 Replies)
Discussion started by: anjum.suri
6 Replies

7. Shell Programming and Scripting

ssh can't back from remote host during script execution

Hi all I wrote a script to execute a script on several remote hosts, but somehow during the execution of the local script, ssh can't come back from the remote host, so that causes my local script hanging... I use the below command to do the job in the local script, any idea? ssh... (12 Replies)
Discussion started by: bzylg
12 Replies

8. UNIX for Advanced & Expert Users

Help! How to find the local host after few ssh hops to remote host???

I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1. When I do a who -m from A2, I see the "connected from" as "A1". => who -m userid pts/2 2010-03-27 08:47 (A1) I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
3 Replies

9. Shell Programming and Scripting

Connecting to remote host

Checking crontab job entry in 3 different hosts Hi Gurus, I am trying to connect to remote host from current host to check crontab entries. I have started like this ssh -n -l db2psp 205.191.156.17 ". ~/.profile >/dev/null 2>/dev/null; cd log ;ls | wc -l" I got this error ? ssh:... (1 Reply)
Discussion started by: rocking77
1 Replies

10. Shell Programming and Scripting

Check/get the exit status of a remote command executed on remote host through script

Geeks, Could you please help me out in my script and identify the missing piece. I need to check/get the exit status of a remote command executed on remote host through script and send out an email when process/processes is/are not running on any/all server(s). Here's the complete... (5 Replies)
Discussion started by: lovesaikrishna
5 Replies
pmconfig(1M)						  System Administration Commands					      pmconfig(1M)

NAME
pmconfig - Configure the Power Management system SYNOPSIS
/usr/sbin/pmconfig [-r] DESCRIPTION
The pmconfig utility sets the Power Management and suspend-resume configuration. User has permission to change Power Management configu- ration using pmconfig only if he is allowed to do so according to PMCHANGEPERM keyword of /etc/default/power. User has permission to change the suspend-resume configuration using pmconfig only if he is allowed to do so according to the CPRCHANGEPERM keyword of /etc/default/power. See FILES section below for a description of the PMCHANGEPERM and CPRCHANGEPERM keywords of /etc/default/power. Based on user permissions, pmconfig first resets the Power Management and/or suspend-resume state back to its default and then reads the new Power Management and/or suspend-resume configuration from /etc/power.conf and issues the commands to activiate the new configu- ration. The pmconfig utility is run at system boot. This utility can also be run from the command line after manual changes have been made to the /etc/power.conf file. For editing changes made to the /etc/power.conf file to take effect, users must run pmconfig. The preferred interface for changing Power Management and suspend-resume configuration is dtpower(1M). OPTIONS
The following options are supported: -r Reset Power Management and suspend-resume state to default and exit. User must have both Power Management and suspend-resume configuration permission for this option. EXIT STATUS
The following exit values are returned: 0 Upon successful completion >0 An error occurred FILES
/etc/power.conf System Power Management configuration file /etc/default/power File that controls permissions for system's Power Management and suspend-resume features. The PMCHANGEPERM key- board controls the Power Management configuration permissions, while the CPRCHANGEPERM keyword controls the sus- pend-resume configuration permissions. Allowed values are: all Any user can change the configuration. - No one except super-user can change the configuration. <user1, user2,...> A user in this user list or a super-user can change the configuration. The user list is a space and/or comma (,) separated list. You must enclose the list in < and > characters. console-owner A user who owns the system console device node or a super-user can change the configuration. The default values are PMCHANGEPERM=console-owner and CPRCHANGEPERM=console-owner. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpmu | +-----------------------------+-----------------------------+ |Interface stability |Unstable | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), powerd(1M), power.conf(4), svcadm(1M), attributes(5), smf(5), cpr(7), pm(7D) Using Power Management NOTES
The pmconfig service is managed by the service management facility, smf(5), under the service identifier: svc:/system/power:default Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. DIAGNOSTICS
If the program cannot open the configuration file, it prints an error message to standard error. If the program encounters a syntax error in the configuration file, it prints an error message and the line number of the error in the configuration file. It then skips the rest of the information on that line and processes the next line. Any configuration information already processed on the line containing the error is used. If user does not have permission to change Power Management and/or suspend-resume configuration, and configuration file has entries for which user doesn't have permission, it process the entries for which user has permissions and prints error on rest. SunOS 5.10 12 Aug 2004 pmconfig(1M)
All times are GMT -4. The time now is 10:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy