Joke Collection Website - Blessing messages - How does linux check the time and ip address information of various users trying to log in?
How does linux check the time and ip address information of various users trying to log in?
The syntax format is as follows:
W-[Husfv] [User]
The parameters are described as follows:
-h Do not display the title.
-u Ignore the user name when listing the current process and CPU time. This is mainly used after the su command is executed.
-s uses short mode. Login time, JCPU and PCPU time are not displayed.
-f Toggles the display of the Sender item (that is, the remote host name item). The default value is not to display the remote host name. Of course, the system administrator can make some modifications to the source file to make the displayed items the default values.
-V displays version information.
Users only display the information of the specified users.
Explanation:
User-Login User Name.
TTY- Terminal number assigned by the system after login.
From-Remote host name, where you log in.
Login @—When do you log in?
Idle-how long has it been idle, indicating the time when the user is idle. This is a timer, which will be reset once the user performs any operation.
JCPU-- The time occupied by all processes connected to the terminal (tty), excluding the past background job time, but including the time occupied by the currently running background job.
PCPU—- refers to the time occupied by the current process (that is, the process displayed in the "What" project).
What?-The command line of the currently running process.
For example:
user 3 pts/39 192. 168 . 0 . 5 07 jul 13 2: 1 1m 1.62s 1.58s ssh 10. 1.2
User 3 logged into this computer from IP 192. 168.0.5 on July 7th, 2003, and the terminal number was pts/39. It has been 2 hours since 1 1 was run. After logging in, the CPU time of all its processes is 1.62 seconds, and the currently executed program.
How does the linux server check the login status, time, ip address and other information of remote users? Use the command last or w.
How to check the login time of domain user 1 Go to-Administrative Tools-Security Policy of Domain Controller-; Local Policy-Audit Policy-Audit Login Event-Select the successful option to close the domain controller security policy snap-in.
2. In the command prompt window, enter "GPUDATE/FORCE" and press "Enter" to refresh the local policy immediately;
3. Start-Run and enter "eventvwr.msc"-"; Security-"Check the login information;
How to check the qq login address or ip address of the QQ security center of the other party?
How does linux (by command) view the login information of the current user? Both who and w can do it, and you can also use PS-aux | grepsh to view the information of users who log in using ssh.
Very basic. Just search directly. Baidu knows it's a bit slow.
How to check the IP address information of QQ friends? Today, I will show you how to check the IP addresses of QQ friends and then how to check the address information of QQ friends. I hope to share it with you. Method/step 1. First, we right-click the blank area of the taskbar under the computer, and find the task manager in the drop-down menu to open it. 2. Enter the task manager interface, find the performance options in the menu bar above, and then find the resource monitor to open in the lower right corner of the performance dialog box. 3. After entering the main interface of Resource Monitor, we will find the network option in the menu bar above, and click to enter the network details interface. 4. In the network interface, we find the following TCP connection options, then click the IP address option in the TCP menu, right-click and select the column. 5. In the Column Properties window, we put a tick in front of the following options: Receive, Send and Total, which is convenient for us to obtain detailed information and search. 6. Then find the QQ friends we want to check, talk to them by sending messages, and wait for the other party to reply to our message. Finally, the conversation is longer so that our monitor can effectively detect IP address information. 7. After the other party replies to us, we find the QQ main program in the TCP connection, and we can see an IP address in the remote address behind, which is the IP address of the friend we just chatted with. 8. Then we copy this IP address. Open Baidu search, enter the IP address of QQ friends in the search bar, and click Search to see where our QQ friends are. The above is the introduction of how to check the IP address information of QQ friends, hoping to help everyone!
How to check the IP address information of QQ friends? At present, there is no good way to find each other's IP.
A simpler method
Start a video chat or send a large file.
This will establish a point-to-point connection.
Then check the network in Task Manager.
But sometimes it's not.
First, use a special IP address detection tool.
The simplest method and the most famous tool for detecting the IP address of QQ friends are as follows:
1. Network Penguin
Software version: 200 1. C. 1
Software size: 637KB
Software nature: shareware (unlimited function)
Applicable platform: Windows 9x/Me/2000
In addition to viewing friends' IP addresses and analyzing their geographical locations, "Internet Penguin" also stores more than 200 cool chat maps and chat phrases for you to copy and use. Built-in message bomb, allowing automatic sending of multiple messages and intervals between messages; Block QQ ads, no matter how you click, there will be no advertising page.
First, connect to Inter Milan, log in to QQ, and then run "Internet Penguin". When the software runs for the first time, it will ask for some basic information, so you don't need to fill it in. After the software starts successfully, a yellow smiley face icon will appear at the right end of the taskbar.
Click the little face icon in the system tray and select IP View from the pop-up menu. At this time, a window with no content will pop up, at which time you can send a message to your online friends. After the message is sent, his IP address, number, port and other information will be added to the above window (as shown in figure 1). In the future, whenever you get the IP address information of a new friend, "Internet Penguin" will automatically add the relevant information to the "IP View" window.
2.QQ sniper
Software version: 2.0
Software size: 1MB
Software nature: shareware (function limitation)
Applicable platform: Windows 9x/Me/2000
The function of "QQ Sniper" is quite simple. It can only be used to check the IP addresses of friends and where they come from. When you run QQ Sniper for the first time, you need to click the "Open Folder" icon on the right in Settings to locate the installation directory and executable files of QQ (for example: c: \ program files \ Tencent \ qq2000b.exe), and you can also set the default port of QQ client. After completing the above settings, "QQ Sniper" will start, and its interface is shown in Figure 2). The upper part of the window is the IP address information of friends or strangers who communicate with you and where they come from. The second half is updated in real time. As long as QQ communicates with the outside world, this part will display information in real time.
How to get a more accurate address
The IP addresses of friends obtained by the above two softwares are accurate, but the geographical location displayed is not necessarily accurate, which may be the reason for the slow update of the IP address database. Therefore, after I know my friend's IP, I will check it in "Chasing" (download address: zhuibu. ). Because the IP address database of this software is very large and complete, and the update speed is fast, it can obtain the geographical location of friends more accurately.
Second, use the firewall to view the IP.
Are you in the Internet cafe QQ? Then the dedicated QQ friend IP address viewing tool mentioned above may not be available. Is there nothing you can do? In fact, we can also use the firewall to obtain the IP address, because general Internet cafes will install firewall software for their own safety. The following is an example of Skynet Firewall:
1. Run the firewall program and check the "UDP packet monitoring" option in the "Custom IP Rules" column (the chat function in QQ uses UDP port 4000 as the data sending and receiving port). Then click the disk icon on the tool button, and then click the OK button.
2. Run QQ. When sending a message to a friend, switch to the window where the firewall program is located after sending the message, and view the log currently recorded by the firewall (click the pencil button in the main interface to enter the log interface). The recording format is as follows:
[1 1:07:33] UDP packet sent to 202.104.129.55438+0,
Local port: OICQ client [4000],
Opposite port: OICQ server [8000]
Go on to the next rule.
[1 1:07:33] Received UDP packet 202.104.129.55438+0.
Local port: OICQ client [4000],
Opposite port: OICQ server [8000]
Go on to the next rule.
Among them, "202.104.129.438+0" is a friend's IP address, and with the help of tools and software such as "idolize", we can know where our friend is.
Third, use DOS command to view IP.
If your Internet cafe doesn't even have a firewall, use the old DOS command, that is, use the stat command to view it.
There is a prerequisite for using this method, that is, friends who want to know the IP address must be invited to join the "two-person world" of QQ with sweet words. Then enter the following command in the MS-DOS window: stat -n, and you will see the following:
flexible connection
Original local address external address status
TCP 6/KOOC-0/./KOOC-0/09.34.78:/KOOC-0/200 6/KOOC-0/./KOOC-0/54./KOOC-0/09: 6/KOOC.
TCP 61.109.34.78: 2694 61.143.136.34: 6667 has been established.
TCP 6 1. 109.34.78
Right-click the toolbar in the lower left corner of your computer, and then click Start Task Manager.
Click Resource Detector in Task Manager.
Click "Network" in turn on the resource detector page, click √ in all places with the word "qq" in the impression, then right-click "Impression" on the listening port, and then click "Select Column" in the pop-up dialog box.
Put a √ before the address in the Select Column Dialog box, and then click OK.
Then return to the TCP connection and enlarge this window for viewing the IP address.
Then find qq to chat with someone and observe the window displayed in step 5.
In the TCP connection window, you can see an address without local IP, which is the IP address of the person you are chatting with, and then you can find the geographical location through IP.
How to get the last login time and IP address in java? Get the current time and current IP when logging in for the first time and store them in the database. Get it again every time you log in, and enter the data into the database to cover the login time and IP when you log out. Query the database when viewing.
- Related articles
- An apology letter to a lover
- How to activate the US version of Apple mobile phone?
- How can I receive the advance payment after the credit card pre-authorization of CCB is successful?
- How to backup mobile phone recordings
- Words of comfort to sick friends and relatives
- What's the matter that car navigation can't connect to mobile phone hotspots?
- Where did the ten-mixed text message come from?
- The teacher greeted the students on Children's Day.
- How do parents send text messages to teachers?
- Meizu charm blue mobile phone text message can't be sent out. What happened?