Linux self-study Notes (v)--time display and Management & monitoring network Information __linux

Source: Internet
Author: User

One, time display and management

1. Show Linux system time

Command: Date

2. Set system time

Command: Date mmddhhmmccyy. Ss

Each digit corresponds in turn: The month and the day are divided annually. seconds seconds

For example, set the time: February 10, 2012 22:33 44 seconds--date 0212332012.44

3. View Calendar

View a month's calendar, for example: February 2012 Calendar

Command: Cal 2 2012

View a full year's calendar, for example: 2012

Command: Cal 2012

Second, monitoring network information

1. Ping

Network monitoring tool Ping, mainly used to monitor whether the remote host is normal, two of the host can connect

Command: Ping target host IP

2. Netstat

The netstat command can be used to display the current network situation of the system. For example: Current connection, packet transfer, routing table contents

Command: Netstat-an

When displaying port sniffing, list the port occupancy process to facilitate the end of suspicious processes

Command: NETSTAT-ANP

3. Ending the suspicious process

Command: Kill Process ID

Force End command: kill-9 process ID

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.