← All commands
Topic hub Services & Processes
Windows Linux Services & Processes Expanded guide Processes

Windows wmic process get processid equivalent in Linux

Displays process IDs together with executable names and complete command lines.

Windows wmic process get processid
→
Linux equivalents
Debian/Ubuntu same command
ps -eo pid,comm,args
Fedora same command
ps -eo pid,comm,args
Arch same command
ps -eo pid,comm,args

Overview

What this command does

On Windows, "wmic process get processid" is used to list process IDs and commands. On Linux, the closest practical mapping shown here is "ps -eo pid,comm,args". Displays process IDs together with executable names and complete command lines. This reference is grouped under Services & Processes → Processes.

Migration tip: Customize <code>ps -o</code> to print exactly the fields needed by a script or troubleshooting session.

Windows → Linux context

What changes when you use this on Linux?

Equivalent task, different tool

Windows wmic process get processid maps to ps -eo pid,comm,args for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.

Portable across the compared distros

The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.

Practical tasks

Common use cases

List process IDs and commands

Displays process IDs together with executable names and complete command lines.

ps -eo pid,comm,args

Show PID, command and arguments

ps -eo ppid,pid,user,stat,comm

Show parent IDs and states

ps -p 1234 -o pid,etime,args

Inspect one process

Ready to run

Copyable Linux commands

Review paths, device names, package names and permissions before running any command.

ps -eo pid,comm,args
ps -eo ppid,pid,user,stat,comm
ps -p 1234 -o pid,etime,args

Walkthrough

Examples with explanations

ps -eo pid,comm,args # list PIDs and command lines
ps -eo ppid,pid,user,stat,comm # include parent process and state
ps -p 1234 -o pid,etime,args # inspect one PID

Reference

Common options and variations

Command or optionUse
ps -eo pid,comm,argsShow PID, command and arguments
ps -eo ppid,pid,user,stat,commShow parent IDs and states
ps -p 1234 -o pid,etime,argsInspect one process

Distro differences

Debian/Ubuntu vs Fedora vs Arch

Debian/Ubuntu, Fedora and Arch all use "ps -eo pid,comm,args" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.

DistributionPackage manager / baseEquivalent commandDifference to notice
Debian/Ubuntu same command ps -eo pid,comm,args Same command on this distribution.
Fedora same command ps -eo pid,comm,args Same command on this distribution.
Arch same command ps -eo pid,comm,args Same command on this distribution.

Keep learning

Related Services & Processes commands