03-10-2008
status will be 0, simply because the command succeeded - even if you do "ftp server" and then break with Ctrl^C status will still be 0. You should instead check for the existance of the transfered files with "ls", verify they are on the remote location and then delete the files.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service"
but I have this service in '/etc/services' file.
Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies
2. HP-UX
Hey guys how do you determined the status of a certain service if its running or not aside from using ps. (0 Replies)
Discussion started by: sbn
0 Replies
3. Solaris
How can i know service status and its dependencies in solaris 8,9?
Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies
4. Red Hat
hi there
when i run
#service --status-all
or
#service nfs status
the screen flickers
if i ssh from remote system than i dont have flickering on the remote nor that system.
is it something to do with probably display configuration. ?
and which file are the display setting... (7 Replies)
Discussion started by: dplinux
7 Replies
5. UNIX for Dummies Questions & Answers
what are the number for the exit status for command service and what does every number mean. (2 Replies)
Discussion started by: programAngel
2 Replies
6. AIX
good afternoon to all
hay i m new in AIX. my problem is that.....plz tell me how to see " service status" in AIX Becoz i run /etc/rc.d/rc.2/Sbesclientd so its show below like this
bash-3.2$ sudo /etc/rc.d/rc2.d/SBESClientd status
Usage: /etc/rc.d/rc2.d/SBESClientd { start | stop }
I... (2 Replies)
Discussion started by: life008
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Please advise how do i find services status running on windows machines
from Linux.
=-=====================
Some one developed a script use rsh command to find the status but it stopped working.
rsh <Some IIS server Name> service -S < Windows Server name where service running>... (1 Reply)
Discussion started by: ashish_uiit
1 Replies
8. Shell Programming and Scripting
Hello,
can some please suggest a script, for killing the process PID. This are steps I am currently performing to kill the process.
I cant user service splunk stop, to kill these processes, because of uid and gid mismatch for splunk user.
# service splunk status
Splunk status:
splunkd... (8 Replies)
Discussion started by: bobby320
8 Replies
9. Shell Programming and Scripting
Hello is it possible to show current status of service like cron with dialog ?
something that show the output of service crond status
in top of menu:
dialog --title "Administrator" --menu "Please choose an option:" 20 55 10 \
1 "Add New USER" \
2 "List all user" \
3 "Remove user" \
4... (6 Replies)
Discussion started by: nimafire
6 Replies
10. UNIX for Beginners Questions & Answers
How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT ULTRIX
rpc_listen
rpc_listen(3ncs) rpc_listen(3ncs)
Name
rpc_listen - listen for and handle remote procedure call (RPC) packets (server only)
Syntax
#include <idl/c/rpc.h>
void rpc_$listen(max_calls, status)
unsigned long max_calls;
status_$t *status;
Arguments
max_calls This value indicates the maximum number of calls that the server is allowed to process concurrently. On ULTRIX systems,
this value should be 1; any other value is ignored and defaulted to one.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it was
successful.
Description
The routine dispatches incoming remote procedure call requests to manager procedures and returns the responses to the client. You must
issue or before you use This routine normally does not return. A return from this routine indicates either an irrecoverable error, or that
an call has been issued. If is equal to status_$ok , the assumption is that has occurred.
Examples
Listen for incoming remote procedure call requests.
rpc_$listen (1, &status);
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$not_in_call An internal error.
rpc_$you_crashed This error can occur if a server has crashed and restarted. A client RPC runtime library sends the error to the server
if the client makes a remote procedure call before the server crashes, then receives a response after the server
restarts.
rpc_$proto_error An internal protocol error.
rpc_$bad_pkt The server or client has received an ill-formed packet.
Files
See Also
intro(3ncs), rpc_shutdown(3ncs)
rpc_listen(3ncs)