Directories specified by the $ PATH environment variable can also be used ):
# Cp sex/usr/bin/
Backup and recovery utility (Solaris)
TarDdCpioPax
Tar -- create a tape and file archive to restore files and directoriesThe tar command can be found on many UNIX platforms. It is a quick and easy-to-use tool for archiving files to tapes. Tar can also be used to archive multiple files into one file (that is, the
The ndd command of solaris-general Linux technology-Linux technology and application information. The following is a detailed description. After a client program is running for a period of time, a large number of CLOSE_WAIT statuses appear on the tcp link, resulting in a later link failure.
The following is a link to the CLOSE_WAIT status through the ndd command
1. Shutdown Command
Init 0 for hardware maintenanceInit 5 shutdown system and power supplyInit 1 into admin stateInit 6 stops and restarts the operating systemInit S enters the admin state and all file systems are availableInit 2 enters the first multiuser stateInit 3 enters the first two multiuser stateInit 4 enters User defined state
2. Command line supports smart tab completion
The specified directory must be excluded during compression. I don't know why it is in Solaris.
Tar CVF a.tar A -- exclude = A/B/log -- exclude = A/C/mm7log is invalid,
Finally, the following method is used:Create an exclude-list file VI exclude-list and write the directories to be excluded from compression.
A/B/log
A/C/mm7log
Save and exit
Execute Command
Tar cvfx a.tar exclude-List A is compresse
Solaris uses the ndd command to set the NIC rate 1 to view the NIC-related parameter ndd-getdevbge0 lt; arg gt; to view the current parameter value such as quot; ndd-getdevbge0adv_autoneg_cap quot; check whether Nic adaptation is enabled in solaris. If you do not know the parameter name, use the Command quot;
SAR is an important performance detection command under Solaris, and familiarity with this command can detect system performance in a timely manner, and is helpful for system management.
Use the SAR command to perform the following tasks:
Organize and view data about system activity.
Access system activity data based o
1> PS-efo pmem, uid, PID, ppid, pcpu, comm | sort-R is implemented using the-O option of the ps command. These options include: user ruser group rgroup uid ruid GID rgid PID ppid pgid Sid taskid ctid pri opri pcpu pmem vsz RSS osz nice class time etime stime zone zoneid f s c lwp nlwp PSR tty ADDR wchan fname comm ARGs the specific meaning of projid project pset can be viewed by man ps. View Solaris memory
The directories or files displayed after the default LS is not colored in Solaris, and if you want to make it look like Linux, you need the following steps
First, go to www.sunfreeware.com download coreutils-4.5.4-sol9-sparc-local.gz
Second, the following 10 steps to complete
1. Color output is a feature of the gun version of LS command, so you have to get this version first, you can download sunfreeware
The solaris system uses the-o option of the ps command to view the CPU and memory occupied by the process. These options include: user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid f s c lwp nlwp psr tty addr wchan fname comm args projid project pset example: ps-efo user, pid, ppid, pcpu, pmem, comm example: # ps-efo
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.