Class UnixProcess
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a process running on a Unix machine.
public class UnixProcess : GlobalSerializableClassicBase, IComparable<UnixProcess>
- Inheritance
-
UnixProcess
- Implements
Constructors
UnixProcess()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.UnixProcess class.
public UnixProcess()
Properties
CollectionIndex
Gets or sets an identifier used by the data comparer to identify this process.
[Browsable(false)]
public string CollectionIndex { get; }
Property Value
Name
Gets or sets the name of the process - for example "rsyslogd".
public string Name { get; set; }
Property Value
Parameters
Gets or sets the command line parameters used to start this process - for example "-n -c 5".
public string Parameters { get; set; }
Property Value
Path
Gets or sets the full path to the running application - for example "/sbin/rsyslogd".
public string Path { get; set; }
Property Value
ProcessId
Gets or sets the unique ID of the process.
public int ProcessId { get; set; }
Property Value
Remarks
This field is ignored by the data comparer as two identical processes can be running on differing machines with different process IDs.
Methods
CompareTo(UnixProcess)
Compares two CENTREL.XIA.Configuration.Types.UnixProcess objects to allow for sorting alphabetically by name.
public int CompareTo(UnixProcess other)
Parameters
other
UnixProcessThe CENTREL.XIA.Configuration.Types.UnixProcess to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.UnixProcess objects.