Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Windows Server General Help » Is there a command to dump various process information shown in ta
Is there a command to dump various process information shown in ta [message #163366] Fri, 29 May 2009 15:59 Go to next message
zigzagdna  is currently offline zigzagdna
Messages: 5
Registered: May 2009
Junior Member
Rather than running task mgr manually and see various process, how much cpu
and memory there are consuming, is there a command which will show me same
thing. I want to run this command from a scheduler every 3 minutes. I know
about perfmon, that’s not what I am looking into. Perfmon, I can give
information about a single process, but some of the processes may be new.
Basically, I need output from “task manager” which I can redirect to a text
file rather than graphical output.
Re: Is there a command to dump various process information shown in ta [message #163378 is a reply to message #163366] Sat, 30 May 2009 02:55 Go to previous messageGo to next message
DaveMills  is currently offline DaveMills  United Kingdom
Messages: 335
Registered: July 2009
Senior Member
Take a look at Process Explorer. It can dump to a file but I don't know about
scheduling it.

On Fri, 29 May 2009 12:59:01 -0700, zigzagdna
<zigzagdna@discussions.microsoft.com> wrote:

>Rather than running task mgr manually and see various process, how much cpu
>and memory there are consuming, is there a command which will show me same
>thing. I want to run this command from a scheduler every 3 minutes. I know
>about perfmon, that’s not what I am looking into. Perfmon, I can give
>information about a single process, but some of the processes may be new.
>Basically, I need output from “task manager” which I can redirect to a text
>file rather than graphical output.
>
--
Dave Mills
There are 10 types of people, those that understand binary and those that don't.
Re: Is there a command to dump various process information shown in ta [message #163392 is a reply to message #163366] Sat, 30 May 2009 12:36 Go to previous messageGo to next message
Dusko Savatovic  is currently offline Dusko Savatovic  Croatia
Messages: 323
Registered: July 2009
Senior Member
HTH

TASKLIST [/S system [/U username [/P [password]]]]
[/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]

Description:
This tool displays a list of currently running processes on
either a local or remote machine.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under which
the command should execute.

/P [password] Specifies the password for the given
user context. Prompts for input if omitted.

/M [module] Lists all tasks currently using the given
exe/dll name. If the module name is not
specified all loaded modules are displayed.

/SVC Displays services hosted in each process.

/V Displays verbose task information.

/FI filter Displays a set of tasks that match a
given criteria specified by the filter.

/FO format Specifies the output format.
Valid values: "TABLE", "LIST", "CSV".

/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for "TABLE" and "CSV" formats.

/? Displays this help message.

Filters:
Filter Name Valid Operators Valid Value(s)
----------- --------------- --------------------------
STATUS eq, ne RUNNING |
NOT RESPONDING | UNKNOWN
IMAGENAME eq, ne Image name
PID eq, ne, gt, lt, ge, le PID value
SESSION eq, ne, gt, lt, ge, le Session number
SESSIONNAME eq, ne Session name
CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
of hh:mm:ss.
hh - hours,
mm - minutes, ss - seconds
MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
USERNAME eq, ne User name in [domain\]user
format
SERVICES eq, ne Service name
WINDOWTITLE eq, ne Window title
MODULES eq, ne DLL name

NOTE: "WINDOWTITLE" and "STATUS" filters are not supported when querying
a remote machine.

Examples:
TASKLIST
TASKLIST /M
TASKLIST /V /FO CSV
TASKLIST /SVC /FO LIST
TASKLIST /M wbem*
TASKLIST /S system /FO LIST
TASKLIST /S system /U domain\username /FO CSV /NH
TASKLIST /S system /U username /P password /FO TABLE /NH
TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"

"zigzagdna" <zigzagdna@discussions.microsoft.com> wrote in message
news:19CA73B4-B0A5-4AC1-88A8-5C3B3AA007E5@microsoft.com...
> Rather than running task mgr manually and see various process, how much
> cpu
> and memory there are consuming, is there a command which will show me same
> thing. I want to run this command from a scheduler every 3 minutes. I know
> about perfmon, that’s not what I am looking into. Perfmon, I can give
> information about a single process, but some of the processes may be new.
> Basically, I need output from “task manager” which I can redirect to a
> text
> file rather than graphical output.
>
>
Re: Is there a command to dump various process information shown i [message #163394 is a reply to message #163392] Sat, 30 May 2009 17:27 Go to previous messageGo to next message
zigzagdna  is currently offline zigzagdna
Messages: 5
Registered: May 2009
Junior Member
Dusko:

Thanks a lot. This is what I was lookinf for.

Prem

"Dusko Savatovic" wrote:

> HTH
>
> TASKLIST [/S system [/U username [/P [password]]]]
> [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]
>
> Description:
> This tool displays a list of currently running processes on
> either a local or remote machine.
>
> Parameter List:
> /S system Specifies the remote system to connect to.
>
> /U [domain\]user Specifies the user context under which
> the command should execute.
>
> /P [password] Specifies the password for the given
> user context. Prompts for input if omitted.
>
> /M [module] Lists all tasks currently using the given
> exe/dll name. If the module name is not
> specified all loaded modules are displayed.
>
> /SVC Displays services hosted in each process.
>
> /V Displays verbose task information.
>
> /FI filter Displays a set of tasks that match a
> given criteria specified by the filter.
>
> /FO format Specifies the output format.
> Valid values: "TABLE", "LIST", "CSV".
>
> /NH Specifies that the "Column Header" should
> not be displayed in the output.
> Valid only for "TABLE" and "CSV" formats.
>
> /? Displays this help message.
>
> Filters:
> Filter Name Valid Operators Valid Value(s)
> ----------- --------------- --------------------------
> STATUS eq, ne RUNNING |
> NOT RESPONDING | UNKNOWN
> IMAGENAME eq, ne Image name
> PID eq, ne, gt, lt, ge, le PID value
> SESSION eq, ne, gt, lt, ge, le Session number
> SESSIONNAME eq, ne Session name
> CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
> of hh:mm:ss.
> hh - hours,
> mm - minutes, ss - seconds
> MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
> USERNAME eq, ne User name in [domain\]user
> format
> SERVICES eq, ne Service name
> WINDOWTITLE eq, ne Window title
> MODULES eq, ne DLL name
>
> NOTE: "WINDOWTITLE" and "STATUS" filters are not supported when querying
> a remote machine.
>
> Examples:
> TASKLIST
> TASKLIST /M
> TASKLIST /V /FO CSV
> TASKLIST /SVC /FO LIST
> TASKLIST /M wbem*
> TASKLIST /S system /FO LIST
> TASKLIST /S system /U domain\username /FO CSV /NH
> TASKLIST /S system /U username /P password /FO TABLE /NH
> TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"
>
> "zigzagdna" <zigzagdna@discussions.microsoft.com> wrote in message
> news:19CA73B4-B0A5-4AC1-88A8-5C3B3AA007E5@microsoft.com...
> > Rather than running task mgr manually and see various process, how much
> > cpu
> > and memory there are consuming, is there a command which will show me same
> > thing. I want to run this command from a scheduler every 3 minutes. I know
> > about perfmon, that’s not what I am looking into. Perfmon, I can give
> > information about a single process, but some of the processes may be new.
> > Basically, I need output from “task manager” which I can redirect to a
> > text
> > file rather than graphical output.
> >
> >
>
>
Re: Is there a command to dump various process information shown i [message #163465 is a reply to message #163392] Tue, 02 June 2009 08:28 Go to previous messageGo to next message
zigzagdna  is currently offline zigzagdna
Messages: 5
Registered: May 2009
Junior Member
Dusko:
takslist does not provide cpu utilization, looks like perfmon is only way to
get it.

Prem

"Dusko Savatovic" wrote:

> HTH
>
> TASKLIST [/S system [/U username [/P [password]]]]
> [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]
>
> Description:
> This tool displays a list of currently running processes on
> either a local or remote machine.
>
> Parameter List:
> /S system Specifies the remote system to connect to.
>
> /U [domain\]user Specifies the user context under which
> the command should execute.
>
> /P [password] Specifies the password for the given
> user context. Prompts for input if omitted.
>
> /M [module] Lists all tasks currently using the given
> exe/dll name. If the module name is not
> specified all loaded modules are displayed.
>
> /SVC Displays services hosted in each process.
>
> /V Displays verbose task information.
>
> /FI filter Displays a set of tasks that match a
> given criteria specified by the filter.
>
> /FO format Specifies the output format.
> Valid values: "TABLE", "LIST", "CSV".
>
> /NH Specifies that the "Column Header" should
> not be displayed in the output.
> Valid only for "TABLE" and "CSV" formats.
>
> /? Displays this help message.
>
> Filters:
> Filter Name Valid Operators Valid Value(s)
> ----------- --------------- --------------------------
> STATUS eq, ne RUNNING |
> NOT RESPONDING | UNKNOWN
> IMAGENAME eq, ne Image name
> PID eq, ne, gt, lt, ge, le PID value
> SESSION eq, ne, gt, lt, ge, le Session number
> SESSIONNAME eq, ne Session name
> CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
> of hh:mm:ss.
> hh - hours,
> mm - minutes, ss - seconds
> MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
> USERNAME eq, ne User name in [domain\]user
> format
> SERVICES eq, ne Service name
> WINDOWTITLE eq, ne Window title
> MODULES eq, ne DLL name
>
> NOTE: "WINDOWTITLE" and "STATUS" filters are not supported when querying
> a remote machine.
>
> Examples:
> TASKLIST
> TASKLIST /M
> TASKLIST /V /FO CSV
> TASKLIST /SVC /FO LIST
> TASKLIST /M wbem*
> TASKLIST /S system /FO LIST
> TASKLIST /S system /U domain\username /FO CSV /NH
> TASKLIST /S system /U username /P password /FO TABLE /NH
> TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"
>
> "zigzagdna" <zigzagdna@discussions.microsoft.com> wrote in message
> news:19CA73B4-B0A5-4AC1-88A8-5C3B3AA007E5@microsoft.com...
> > Rather than running task mgr manually and see various process, how much
> > cpu
> > and memory there are consuming, is there a command which will show me same
> > thing. I want to run this command from a scheduler every 3 minutes. I know
> > about perfmon, that’s not what I am looking into. Perfmon, I can give
> > information about a single process, but some of the processes may be new.
> > Basically, I need output from “task manager” which I can redirect to a
> > text
> > file rather than graphical output.
> >
> >
>
>
Re: Is there a command to dump various process information shown i [message #163551 is a reply to message #163465] Wed, 03 June 2009 08:04 Go to previous message
JHman  is currently offline JHman
Messages: 19
Registered: July 2009
Junior Member
Did you check PSlist from system internals? It reports - CPU time - which
might also do the trick...

"zigzagdna" wrote:

> Dusko:
> takslist does not provide cpu utilization, looks like perfmon is only way to
> get it.
>
> Prem
>
> "Dusko Savatovic" wrote:
>
> > HTH
> >
> > TASKLIST [/S system [/U username [/P [password]]]]
> > [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH]
> >
> > Description:
> > This tool displays a list of currently running processes on
> > either a local or remote machine.
> >
> > Parameter List:
> > /S system Specifies the remote system to connect to.
> >
> > /U [domain\]user Specifies the user context under which
> > the command should execute.
> >
> > /P [password] Specifies the password for the given
> > user context. Prompts for input if omitted.
> >
> > /M [module] Lists all tasks currently using the given
> > exe/dll name. If the module name is not
> > specified all loaded modules are displayed.
> >
> > /SVC Displays services hosted in each process.
> >
> > /V Displays verbose task information.
> >
> > /FI filter Displays a set of tasks that match a
> > given criteria specified by the filter.
> >
> > /FO format Specifies the output format.
> > Valid values: "TABLE", "LIST", "CSV".
> >
> > /NH Specifies that the "Column Header" should
> > not be displayed in the output.
> > Valid only for "TABLE" and "CSV" formats.
> >
> > /? Displays this help message.
> >
> > Filters:
> > Filter Name Valid Operators Valid Value(s)
> > ----------- --------------- --------------------------
> > STATUS eq, ne RUNNING |
> > NOT RESPONDING | UNKNOWN
> > IMAGENAME eq, ne Image name
> > PID eq, ne, gt, lt, ge, le PID value
> > SESSION eq, ne, gt, lt, ge, le Session number
> > SESSIONNAME eq, ne Session name
> > CPUTIME eq, ne, gt, lt, ge, le CPU time in the format
> > of hh:mm:ss.
> > hh - hours,
> > mm - minutes, ss - seconds
> > MEMUSAGE eq, ne, gt, lt, ge, le Memory usage in KB
> > USERNAME eq, ne User name in [domain\]user
> > format
> > SERVICES eq, ne Service name
> > WINDOWTITLE eq, ne Window title
> > MODULES eq, ne DLL name
> >
> > NOTE: "WINDOWTITLE" and "STATUS" filters are not supported when querying
> > a remote machine.
> >
> > Examples:
> > TASKLIST
> > TASKLIST /M
> > TASKLIST /V /FO CSV
> > TASKLIST /SVC /FO LIST
> > TASKLIST /M wbem*
> > TASKLIST /S system /FO LIST
> > TASKLIST /S system /U domain\username /FO CSV /NH
> > TASKLIST /S system /U username /P password /FO TABLE /NH
> > TASKLIST /FI "USERNAME ne NT AUTHORITY\SYSTEM" /FI "STATUS eq running"
> >
> > "zigzagdna" <zigzagdna@discussions.microsoft.com> wrote in message
> > news:19CA73B4-B0A5-4AC1-88A8-5C3B3AA007E5@microsoft.com...
> > > Rather than running task mgr manually and see various process, how much
> > > cpu
> > > and memory there are consuming, is there a command which will show me same
> > > thing. I want to run this command from a scheduler every 3 minutes. I know
> > > about perfmon, that’s not what I am looking into. Perfmon, I can give
> > > information about a single process, but some of the processes may be new.
> > > Basically, I need output from “task manager” which I can redirect to a
> > > text
> > > file rather than graphical output.
> > >
> > >
> >
> >
Previous Topic:VSS problem
Next Topic:2003 server multihoming issue?
Goto Forum:
  


Current Time: Wed Aug 23 07:58:28 EDT 2017

Total time taken to generate the page: 0.02928 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software