04-01-2005
Executing commands after I log off
Hi, guys !
I have at home a simple network. I have a server that shares the internet connection to my computer and another another computer which is located in another room. When I want to download something, I'd like to download directly on the server, without letting my computer on. The server doesn't have a monitor, neither a keyboard. I login to the server via ssh.
So, in the other words, how can I give to the server a command (like wget
http://www.whatever.com/file1.zip &) and safely log off without the server stoping the transfer ?
Any ideas ?
Thanks !
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a SQL script that requires values from the environment in order to execute. I found a way to get the desired results but my process is a little choppy. Any suggestions on how to clean this up would be greatly appreciated.
SQL Script
-------------
select a, b, c
from d
where a =... (1 Reply)
Discussion started by: bmopal
1 Replies
2. UNIX for Dummies Questions & Answers
I have written a script to ftp a file from Unix to an NT machine to authenticate ftp login I have added the information into the .netrc file when logged in using ftp the commands are not executed. Does anybody know how to make the command execute once username and password have been provided using... (2 Replies)
Discussion started by: hesmas
2 Replies
3. Shell Programming and Scripting
Basically, I would like to run an mpirun query on my web server to query your databases via yours when using the BLAST program, however the server seems not able to execute even basic mpirun programs such as cpi (to calculate pi). Are there any settings I should take note of?
I am running Perl... (0 Replies)
Discussion started by: tesswulf
0 Replies
4. Red Hat
Hi Folks,
I have a small doubt, the binary commands under /bin and /sbin as well as other path binary files, if you peek deep into that, you can find the difference in the way of normal perl programming and some commands will be like binary files. how are the commands executing like the... (3 Replies)
Discussion started by: gsiva
3 Replies
5. Shell Programming and Scripting
Hi,
I want to run these two commands one after the other.
awk 'BEGIN {OFS="\t"} {print $2}'
sort -u
rather than typing awk 'BEGIN {OFS="\t"} {print $2}' file1 > file2, then sort -u file2 > file3. Is it possible to run both commands on file1 then get output file3?
Its kinda hard for... (5 Replies)
Discussion started by: kylle345
5 Replies
6. Shell Programming and Scripting
I need to execute a command to run my script several times with varying parameters
perl ex.pl -b 130198 -e 130884 -c plot plot.txt 1_plot.txt
perl ex.pl -b 1345 -e 1308 -c plot plot.txt 2_plot.txt
perl ex.pl -b 1345567 -e 130898 -c plot plot.txt 3_plot.txt
.
.
.
100's of excutions
... (2 Replies)
Discussion started by: Lucky Ali
2 Replies
7. Shell Programming and Scripting
Hi
I want a script which continously searches for a work "MAX xonnections reached" in log file . As soon as it sees the message it needs to do series of steps
1) execute netstat command and redirect output to a file in /tmp
2) again continue monitoring the log file .
this job should run until... (2 Replies)
Discussion started by: mskalyani9
2 Replies
8. Shell Programming and Scripting
Hi,
I am stuck into a situation where i want to execute a command in my shell script well along with a previous command in order to achieve something but i am not figuring out a way.
here is a snippet:
service management restart
rm -rf lock.file
in the above, if you see, i am trying to... (5 Replies)
Discussion started by: sunrexstar
5 Replies
9. Shell Programming and Scripting
Hello.
I am new in shell script. Could anyone help me?
I have un shell script. I need each command in it be sequentielly, when the first command ends the second starts. When the second ends et third starts, and so on
Thanks in adavance (1 Reply)
Discussion started by: nurinolo
1 Replies
10. Shell Programming and Scripting
If you want to capture the output of any command, we then will be writing the system command in `` or qx.
`` an qx works fine with all linux and windows system commands.
But when I execute the below code.. it is displaying the output on the screen directly instead of storing to variable
... (3 Replies)
Discussion started by: giridhar276
3 Replies
LEARN ABOUT DEBIAN
psensor
PSENSOR(1) User Commands PSENSOR(1)
NAME
psensor - Temperature monitoring application
SYNOPSIS
psensor [OPTION]...
DESCRIPTION
psensor is a GTK application for monitoring hardware sensors, including temperatures and fan speeds.
It displays a curve for each sensor, and uses Desktop Notification to raise an alarm when a temperature is too high. On Ubuntu an Applica-
tion Indicator is also available, its icon changes when a temperature alert is raised.
It can monitor:
* the temperature of the motherboard and CPU sensors (using lm-sensors).
* the temperature of the NVidia GPUs (using XNVCtrl).
* the temperature and fan rotation speed of the ATI GPUs.
* the temperature of the Hard Disk Drives (using hddtemp).
* the rotation speed of the fans (using lm-sensors).
* the sensors of a remote computer (using psensor-server).
Psensor requires lm-sensors to be correctly installed and configured, it can be checked by running the command 'sensors'. If it has never
be done, you may need to run the command 'sensors-detect' and follow the instruction. See the manpages of sensors(1) and sensors-detect(8)
for more information.
To retrieve the temperature of the Hard Disk Drives, the hddtemp daemon must be running.
For remote monitoring:
* start psensor-server(1) on the remote computer
* run psensor with '--url' option: 'psensor --url=http://localhost:3131'
ATI/AMD GPUs monitoring is available if the library libatiadlxx is present in the directory /usr/lib and psensor has been compiled with the
ATI ADL SDK.
Log is written to '$HOME/.psensor/log'.
OPTIONS
-h, --help
display this help and exit
-v, --version
display version information and exit
-u, --url=URL
the URL of the psensor-server, example: http://hostname:3131
-d, --debug=LEVEL
set the debug level, integer between 0 and 3
REPORTING BUGS
Report bugs to: jeanfi@gmail.com
psensor home page: <http://wpitchoune.net/psensor>
COPYRIGHT
Copyright (C) 2010-2012 jeanfi@gmail.com License GPLv2: GNU GPL version 2 or later <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
psensor-server(1), sensors(1), sensors-detect(8), hddtemp(8)
psensor 0.6.2.17 March 2012 PSENSOR(1)