02-28-2007
Isn't it better then to write a C program, that listens on the certain port and starts a program when a sequence of bytes arrives there?
Will it be more precise or there are any better ways of time synchronization then cron?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am running AIX 4.3 and network printing setup with HP Jetdirect. I would like to be able to send the same printout to both of the network printers at the same time. They are both PCL
data stream. I have tried to make this work by linking the two print que, by the results are unpredictable.
Is... (1 Reply)
Discussion started by: sjk303
1 Replies
2. Shell Programming and Scripting
Hello,
I have an awk command that searches and replaces. I have multiple searches, but I do not want to do them one after the other. Is there a way in awk to run search/replace at the same time.
thanks, (3 Replies)
Discussion started by: ctcuser
3 Replies
3. UNIX for Dummies Questions & Answers
Hi
how do I start or stop the network interfaces in Solaris 9
I have tried "/etc/init.d/network stop" but it doesn't work
thanks (1 Reply)
Discussion started by: eldiego
1 Replies
4. IP Networking
Hi
(sorry for my bad English)
I'm trying to configure an US Robotics (USR5423) wirless usb adapter on Fedora 9. the device is detected, and i'm trying to configure a wireless connection.
When I want to activate the device using
#service network restart
or
# /etc/init.d/network restart... (0 Replies)
Discussion started by: teis
0 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I need information on file handling in UNIX enviornment.
If in UNIX enviornment I have two process..
P1
P2
Both accessing the same file simultaneosuly(read operation)..
Suppose P1 opened the file in read mode first and started reading the file..
Then P2 opens the same file in... (5 Replies)
Discussion started by: chibob
5 Replies
6. BSD
There is a FreeBSD machine which normally has a network connection, but after a recent start up no longer has such a connection. All other computers on the same router do have an active network. Where do I start looking to troubleshoot this?
Thanks in advance (2 Replies)
Discussion started by: figaro
2 Replies
7. Shell Programming and Scripting
I have 5 scripts, basicly do the same thing. Use expect and telnet to devices.
First set the variables and the script as follow
spawn telnet $ipaddr
expect "Username:"
send -- "$usuario\r"
expect "Password:"
send -- "$password\r"
send -- "\r"
send -- "\r"
send -- "copy running-config... (6 Replies)
Discussion started by: robonet
6 Replies
8. UNIX for Dummies Questions & Answers
I just registered today and started unix about a month ago.
I'm trying to make a script where I can add commands or text to the end of files in a listing.
$ echo "#text_or_command" >> #List of files from ls
I can't seem to find/understand it on these fourms.
Could it be done at... (4 Replies)
Discussion started by: 62583
4 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
So my problem is: 4990 of 5000 users should be able to access a file. How can this be accomplished.
2.... (1 Reply)
Discussion started by: protiss
1 Replies
10. Shell Programming and Scripting
Hello
I want to call multiple sites simultaneously by xargs or parallel
for example
a.com/srv/1
a.com/srv/3
a.com/srv/2
a.com/srv/n
That means 500 different sites will be called in a moment
Then I use command I call a url at the same time. I need to call each url once, but every 500... (1 Reply)
Discussion started by: mnnn
1 Replies
rwho(1) General Commands Manual rwho(1)
NAME
rwho - Shows which users are logged into hosts on the local network.
SYNOPSIS
rwho [-a]
rwho [-a] [users]
OPTIONS
Includes all users. Without this option, users whose sessions are idle an hour or more are not included in the report.
DESCRIPTION
The rwho command displays the username, hostname, and start date and time of each session for everyone on the local network who is cur-
rently logged in to a host running the rwhod daemon.
If one or more user names are specified, only the status of those users whose names are listed appears on the screen. If a user has not
typed anything for at least 3 minutes, rwho reports the idle time as a number of minutes in the last column. After an hour of inactivity,
a user is not included unless the -a option is specified. Because this command displays a lot of output, use this command with caution if
the local network has a large number of users.
Status information is broadcast once every 3 minutes by each network host running the rwhod daemon. Any activity (such as a user logging on
or off) that takes place between broadcasts is not reflected until the next broadcast.
EXAMPLES
To get a report of all users currently logged into hosts on the local network, enter:
$ rwho
bob host2:pts5 Nov 17 06:30 :20 bob host7:console Nov 17 06:25 :25 franz
host1:pts0 Nov 17 11:20 :51 franz host1:pts8 Nov 16 15:33 :42 franz host4:console
Nov 17 16:32 pietro host1:console Nov 17 13:14 :31 pietro host1:pts7 Nov 17 13:15 :47 server
host2:console Nov 17 06:58 :20 luis host2:pts6 Nov 17 09:22
FILES
Indicates data files received from remote rwhod daemons.
SEE ALSO
Commands: ruptime(1), rwhod(8)
rwho(1)