PDA

View Full Version : How do I tell if remote users are using the server


tempel
04-07-2002, 02:27 PM
I sometimes have to restart my server, which serves FTP, web and some other services.

But I like to avoid to shut down the server while a user might be accessing it. So, I'd like to know if someone has used the server from outside recently, especially by telnet and ftp, but also www.

The server admin util only shows users logged in via AppleShare, but not ftp etc.

For ftp, one could probably look up a log file (but where?), for telnet - I don't know.

Is there a tool or other way to easily and quickly get all this information?

Thomas

hoops
04-08-2002, 04:34 AM
me% users

Will tell you all users currently on the system.

tempel
04-08-2002, 12:56 PM
me% users
What does that mean? I can't enter this in Terminal.app (I can enter it, of course, but it just provokes an error msg).

And it's not AppleScript or Perl or C code, either. What is it?

Ah, now it dawns on me - you mean to enter the command "users", not "me% users". "me%" is just the prompt. That was confusing.

Anyways. It does not help. open ftp users are not shown by the "users" cmd, neither are AppheShare users, but only shell users seem to be shown.

Someone else has a better suggestion?

Craig R. Arko
04-08-2002, 01:18 PM
AFP users can be found through the "Server Admin" utility, under 'File&Print/Apple/Apple File Service Status'.

For ftp, you may just need to use the Log Viewer.

It would be a nice (3rd party?) utility that could aggregate all this info into a single screen, and allow a remote admin to view it.

PS - can webmin do this?