Skip to content

Replacing pidof with pgrep to make it more generic!#21

Open
Anushree-Mathur wants to merge 1 commit into
lop-devops:KVMCIfrom
Anushree-Mathur:pid
Open

Replacing pidof with pgrep to make it more generic!#21
Anushree-Mathur wants to merge 1 commit into
lop-devops:KVMCIfrom
Anushree-Mathur:pid

Conversation

@Anushree-Mathur

Copy link
Copy Markdown

In the latest versions of QEMU, the QEMU process may run as qemu-system-, where represents any supported architecture. However, in some cases, it may still run as qemu-kvm. To ensure a more generic and reliable approach for identifying the QEMU process ID, it is recommended to replace the pidof command with pgrep, as pgrep provides broader compatibility and flexibility.

Signed-off-by: Anushree-Mathur anushree.mathur@linux.ibm.com

In the latest versions of QEMU, the QEMU process may run as qemu-system-<arch>, where <arch> represents any supported architecture. However, in some cases, it may still run as qemu-kvm. To ensure a more generic and reliable approach for identifying the QEMU process ID, it is recommended to replace the pidof command with pgrep, as pgrep provides broader compatibility and flexibility.
Signed-off-by: Anushree-Mathur <anushree.mathur@linux.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant