Discussion Locked

hOW TO VIEW CURRENTLY OPEN WESITES ON SE

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have an internet Server which runs on RedHat Linux 6. I am still learning the commands of the operating sysytem. I would like to know which commands I should run to view web sites that will be currently open( to monitor users). Which command should I also run to view amounts of mail for each user so that I can alert them to open their mail. Help

7 replies

by braveh4rt

well if you want to see your web server request you can monitor your web log file... but more good is to use webalizer, its use the web log and display it to us with graph view....usefull for web master.
You can downlaod it free. i don't remember the web address to download but you can search it.

And for mail.. is it used for your web user or machine user? cause if it's your machine user when login they will be system allerts about new mail. If for web- i don't know. If you afraid to fulling your server, use quota to restrict mail files.

brgds,
Mulianto

by shanghai sam

I'd upgrade to RH7.2. There were/are some problems in the 6x distro. I was running 6.2, upgraded to 7.2 and saw major improvements - especially in the default services.
Anyway, are you running sendmail and having users pop mail from the desktops with say Outlook? If so, then they should be getting new mail alerts automatically. Their mail is stored in /var/mail/whateverusernameyousetthemupwith. I know rh6x came with a cool file browser called Midnight commander. Log in at the command prompt console & type in mc. You can use the arrow keys to navigate the folders, and if you've root permissions then you can use the f3 to view the fileinfo. That way for sure you can see loaded mailboxes. Use f10 to exit.
As far as web page monitoring, I believe you can use tcpdump, but I'm not handy enough with it yet to tell you how (Check the info or man pages). I'm pretty sure you'd have to be running all your network traffic through the linux box for this to work.
Good luck & Linux is going to grow on you. Stay with it.

by pccsi

from the command line:

cd /var/spool/mail

ls -ls |sort -n
will list user mail spool files by size,
smallest to largest.

ls -ls |sort -nr
will list largest to smallest.

ls -lt
will list by date/time last modified.

This discussion is closed to new replies.