Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_basic_admin [2019/10/18 20:04] – external edit 127.0.0.1 | linux_basic_admin [2020/08/28 15:35] (current) – andonovj | ||
---|---|---|---|
Line 52: | Line 52: | ||
pcs cluster enable --all | pcs cluster enable --all | ||
</ | </ | ||
+ | |||
+ | =====List Services===== | ||
+ | You can list services in Linux as follows: | ||
+ | |||
+ | < | ||
+ | [root@tain-cx-uatdb1 ~]# systemctl list-unit-files | ||
+ | UNIT FILE STATE | ||
+ | proc-sys-fs-binfmt_misc.automount | ||
+ | dev-hugepages.mount | ||
+ | dev-mqueue.mount | ||
+ | proc-fs-nfsd.mount | ||
+ | proc-sys-fs-binfmt_misc.mount | ||
+ | sys-fs-fuse-connections.mount | ||
+ | sys-kernel-config.mount | ||
+ | sys-kernel-debug.mount | ||
+ | tmp.mount | ||
+ | var-lib-nfs-rpc_pipefs.mount | ||
+ | brandbot.path | ||
+ | systemd-ask-password-console.path | ||
+ | systemd-ask-password-plymouth.path | ||
+ | systemd-ask-password-wall.path | ||
+ | session-1.scope | ||
+ | session-29975.scope | ||
+ | session-29979.scope | ||
+ | acpid.service | ||
+ | arp-ethers.service | ||
+ | auditd.service | ||
+ | auth-rpcgss-module.service | ||
+ | autofs.service | ||
+ | </ | ||
+ | |||
+ | ====Check process connections==== | ||
+ | We can check if a process is making connection from outside as follows: | ||
+ | |||
+ | < | ||
+ | [root@ag-se-tlcasdb1 ~]# lsof -i -a -p 4970 | ||
+ | COMMAND | ||
+ | oracle | ||
+ | </ | ||
+ | |||
+ | As we can see, that is very useful for oracle processes. When the connection HAS to create process also ON the local server. |