2. lsof -i : list all open connection 3. lsof -i TCP:8080 : list all TCP connection at port 8080; lsof -i :port number can actually show processes on a specific port 4. lsof -c mysql: list all files opened by command, in this example, it lists all files opened by mysql 5. l...
When started from a shell, processes can be brought in the background and back to the foreground with [Ctrl]-[Z] (^Z),bgandfg. List the processes withjobs. # ping cb.vu > ping.log ^Z# ping is suspended (stopped) with [Ctrl]-[Z]# bg# put in background and continues running# ...
AIX系统级命令简介内容提要 在AIX操作系统上有很多的命令。这里介绍一些系统级的命令,它将有助于回答一些常见问题。大家以此做参考,并补充修改。以下命令在AIX 5.1上测试通过。 · 关于内核 显示AIX系统内核是32位还是64位: bootinfo -K 如何改变内核模式(32位或64位) /unix文件连接到一个可引导的映像。通过命令...
mkvg -y name_of_volume_group -s partition_size list_of_hard_disks partition_size单位是MB,它是1到1024之间的一个数。(2的次幂,例如:1,2, 4, 8, 16, 32等,缺省是4MB。) 创建逻辑卷: mklv -y name_of_logical_volume name_of_volume_group number_of_partition 显示当前系统的所有卷组: Lsvg ...
More vim examples: How To Record and Play in Vim Editor 8. diff command examples Ignore white space while comparing. # diff -w name_list.txt name_list_new.txt 2c2,3 < John Doe --- > John M Doe > Jason Bourne ...
Note:We can createaliasesfor ps command to list processes based on commands, users or groups. 3. List the processes based on PIDs or PPIDs (ps -p, ps –ppid) Each process will be assigned with the unique Process ID (PID). When you launch some application, it might fork number of pr...
ps aux USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0 53120 6368 ? Ss Sep19 0:01 /sbin/init root 2 0.0 0.0 0 0 ? S Sep19 0:00 [kthreadd] ... How to list all processes for a user To list all processes by user use the -u option. This supports ...
To stray a bit into the weeds, you can witness the power of construing everything as a file by running the 'lsof' command. Short for "list open files," 'lsof' enumerates all files currently in use which fit certain criteria. Example criteria include whether or not the files use system...
Unix Processes Control Commands(ps, top, bg, fg, clear, history) Unix Utilities Programs Commands(ls, which, man, su, sudo, find, du, df) Unix File Permissions Find Command in Unix Grep Command in Unix Cut Command in Unix Ls Command in Unix ...
top command displays the top processes in the system ( by default sorted by cpu usage ). To sort top output by any column, Press O (upper-case O) , which will display all the possible columns that you can sort by as shown below. Current Sort Field: P for window 1:Def Select sort...