Find the Max file size in Linux and Last 10 users logins in putty:
==================================================
Find the Max file size:
================
[applmgr@xxxxx out]$ ls -lSr
-rwxrwxrwx 1 applmgr oinstall 3703635 Jun 6 15:45 o5829172.out
-rwxrwxrwx 1 applmgr oinstall 3703635 Jun 6 15:04 o5829155.out
-rwxrwxrwx 1 applmgr oinstall 3703635 Jun 5 19:38 o5828959.out
-rwxrwxrwx 1 applmgr oinstall 3703635 Jun 5 19:38 o5828958.out
-rwxrwxrwx 1 applmgr oinstall 3703635 Jun 5 16:44 o5814026.out
-rwxrwxrwx 1 applmgr oinstall 3704017 Jun 3 16:18 o5812462.out
-rw-r--r-- 1 applmgr oinstall 4203665 Jun 21 10:39 o5833173.out
-rw-r--r-- 1 applmgr oinstall 4212642 Jun 24 11:48 o5833667.out
-rw-r--r-- 1 applmgr oinstall 4790961 Jun 21 10:39 o5833174.out
last 10 Users Connected in Putty:
========================
[applmgr@xxxxxx out]$ last -10
applmgr pts/3 192.168.1.135 Mon Jul 1 09:59 still logged in
root pts/4 192.168.1.139 Sat Jun 29 11:49 - 11:53 (00:04)
root pts/3 :1.0 Sat Jun 29 11:45 - 11:53 (00:08)
root pts/2 :0.0 Fri Jun 28 22:31 still logged in
root pts/1 :0.0 Fri Jun 28 16:00 still logged in
oracle pts/1 192.168.1.135 Fri Jun 28 15:02 - 15:29 (00:26)
applmgr pts/1 192.168.1.135 Thu Jun 27 22:22 - 04:33 (06:11)
root pts/1 192.168.1.135 Thu Jun 27 17:35 - 18:27 (00:52)
applmgr pts/1 192.168.1.135 Thu Jun 27 14:50 - 15:05 (00:15)
root pts/1 192.168.1.150 Wed Jun 26 20:15 - 20:34 (00:19)
[applmgr@xxxxxx out]$ last -10
applmgr pts/3 192.168.1.135 Mon Jul 1 09:59 still logged in
root pts/4 192.168.1.139 Sat Jun 29 11:49 - 11:53 (00:04)
root pts/3 :1.0 Sat Jun 29 11:45 - 11:53 (00:08)
root pts/2 :0.0 Fri Jun 28 22:31 still logged in
root pts/1 :0.0 Fri Jun 28 16:00 still logged in
oracle pts/1 192.168.1.135 Fri Jun 28 15:02 - 15:29 (00:26)
applmgr pts/1 192.168.1.135 Thu Jun 27 22:22 - 04:33 (06:11)
root pts/1 192.168.1.135 Thu Jun 27 17:35 - 18:27 (00:52)
applmgr pts/1 192.168.1.135 Thu Jun 27 14:50 - 15:05 (00:15)
root pts/1 192.168.1.150 Wed Jun 26 20:15 - 20:34 (00:19)
No comments:
Post a Comment