(a) Port occupancy query Common commands:
Example:
- Lsof-i:80
- Netstat-an | grep 80
- Netstat-an | grep LISTEN querying the port of native listening
(ii) Crontab Scheduled Tasks
Common commands:
Common options
- Crontab-l View all Scheduled Tasks
- Crontab-e new edit timed execution policy
Time Format
Minute-time-day-month-week task
- Execute once per minute * * * * *
- executes every five minutes */5 * * * *
- 0 l8:00 per day * * * *
- execute once per hour 0 * * * *
- executed at 0 o ' Day 0 0 * * *
Weekly * * Executes once 0 0 * 0
Monthly * * Executes once 0 0 1 * *
(iii) Service services Common commands:
- SVC Service Management
- Supervisor Process Management
(d) Download on fileCommon Services SFTP (guaranteed file transfer security), the default port isdifferent accounts to different folders on SFTPNote: Different versions of Mac or Linux systems have a slightly different way of signing in to SFTP and cannot be accessed from a network with a firewall
- sftp-oport=2002 [email protected]
- SFTP-P 2002 [Email protected]
- sftp [Email protected]:2002
after entering the password to log in to the SFTP system,> Get filename to download files from the SFTP server
LINUX/MAC Service Management