- PSS_PROCESS_INFORMATION structure (processsnapshot.h)
- Syntax
- Members
- Remarks
- PSS_HANDLE_ENTRY structure (processsnapshot.h)
- Syntax
- Members
- Process
- Thread
- Mutant
- Event
- Section
- .PSS File Extension
- File Type 1 PlayStation 2 Game Video File
- What is a PSS file?
- Programs that open PSS files
- File Type 2 AutoCAD Plot Stamp Settings File
- .PSS File Association 2
- Programs that open PSS files
- File Type 3 Picture and Sound Show File
- .PSS File Association 3
- Programs that open PSS files
- File Type 4 RoboHelp HTML Project Data File
- .PSS File Association 4
- Формат файла PSS — описание, как открыть?
- Чем открыть файл в формате PSS
- What does pss mean in /proc/pid/smaps
- 1 Answer 1
PSS_PROCESS_INFORMATION structure (processsnapshot.h)
Holds process information returned by PssQuerySnapshot.
Syntax
Members
The exit code of the process. If the process has not exited, this is set to STILL_ACTIVE (259).
The address to the process environment block (PEB). Reserved for use by the operating system.
The affinity mask of the process.
The base priority level of the process.
The parent process ID.
Flags about the process. For more information, see PSS_PROCESS_FLAGS.
The time the process was created. For more information, see FILETIME.
If the process exited, the time of the exit. For more information, see FILETIME.
The amount of time the process spent executing in kernel-mode. For more information, see FILETIME.
The amount of time the process spent executing in user-mode. For more information, see FILETIME.
The priority class.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
A memory usage counter. See the GetProcessMemoryInfo function for more information.
Reserved for use by the operating system.
The full path to the process executable. If the path exceeds the allocated buffer size, it is truncated.
Remarks
PssQuerySnapshot returns a PSS_PROCESS_INFORMATION structure when the PSS_QUERY_INFORMATION_CLASS member that the caller provides it is PSS_QUERY_PROCESS_INFORMATION.
PSS_HANDLE_ENTRY structure (processsnapshot.h)
Holds information about a handle returned by PssWalkSnapshot.
Syntax
Members
The handle value.
Flags that indicate what parts of this structure are valid. For more information, see PSS_HANDLE_FLAGS.
The type of the object that the handle references. For more information, see PSS_OBJECT_TYPE.
The capture time of this information. For more information, see FILETIME.
Reserved for use by the operating system.
Reserved for use by the operating system.
Reserved for use by the operating system.
Reserved for use by the operating system.
Reserved for use by the operating system.
Reserved for use by the operating system.
The length of TypeName, in bytes.
The type name of the object referenced by this handle. The buffer may not terminated by a NULL character. The pointer is valid for the lifetime of the walk marker passed to PssWalkSnapshot.
The length of ObjectName, in bytes.
Specifies the name of the object referenced by this handle. The buffer may not terminated by a NULL character. The pointer is valid for the lifetime of the walk marker passed to PssWalkSnapshot.
Process
Valid for ObjectType = PSS_OBJECT_TYPE_PROCESS.
ExitStatus
The exit code of the process. If the process has not exited, this is set to STILL_ACTIVE (259).
PebBaseAddress
The address of the process environment block (PEB). Reserved for use by the operating system.
AffinityMask
The affinity mask of the process.
BasePriority
The base priority level of the process.
ProcessId
ParentProcessId
The parent process ID.
Flags
Flags about the process. For more information, see PSS_PROCESS_FLAGS.
Thread
Valid for ObjectType = PSS_OBJECT_TYPE_THREAD.
ExitStatus
The exit code of the process. If the process has not exited, this is set to STILL_ACTIVE (259).
TebBaseAddress
The address of the thread environment block (TEB). Reserved for use by the operating system.
ProcessId
ThreadId
AffinityMask
The affinity mask of the process.
Priority
The thread’s dynamic priority level.
BasePriority
The thread’s base priority level.
Win32StartAddress
A pointer to the thread procedure for the thread.
Mutant
Valid for ObjectType = PSS_OBJECT_TYPE_MUTANT.
CurrentCount
Reserved for use by the operating system.
Abandoned
TRUE if the mutant has been abandoned (the owning thread exited without releasing the mutex), FALSE if not.
OwnerProcessId
The process ID of the owning thread, at the time of snapshot creation and handle capture.
OwnerThreadId
The process ID of the owning thread, at the time of snapshot creation and handle capture.
Event
Valid for ObjectType = PSS_OBJECT_TYPE_EVENT.
ManualReset
TRUE if the event is manual reset, FALSE if not.
Signaled
TRUE if the event was signaled at the time of snapshot creation and handle capture, FALSE if not.
Section
Valid for ObjectType = PSS_OBJECT_TYPE_SECTION.
.PSS File Extension
File Type 1 PlayStation 2 Game Video File
What is a PSS file?
A PSS file is a video file used by games for the PlayStation 2 console. It contains audio and video data and is used for playing in-game cutscenes and other movies. PSS files may be converted to more common video types, or split into separate audio and video files using several utilities.
NOTE: VLC media player only plays the video from PSS files, not the audio.
Programs that open PSS files
File Type 2 AutoCAD Plot Stamp Settings File
Developer | Autodesk | ||
Popularity |
Developer | Adobe Systems |
Popularity |
Видео-файл, используемый играми для консоли PlayStation 2. Содержит аудио- и видео-данные и применяется для воспроизведения урезанных сцен в игре и других видео. Может конвертироваться в более стандартные типы видео иди разбиваться на отдельные аудио- и видео-файлы при помощи нескольких утилит.
Примечание: медиа-проигрыватель VLC воспроизводит из файлов PSS только видео, но не аудио.
Чем открыть файл в формате PSS (PlayStation 2 Game Video File)
What does pss mean in /proc/pid/smaps
I was confused about the Pss column in /proc/pid/smaps , so I wrote a program to test it:
Here I found Pss equal to Private_Dirty , but I wonder why.
BTW: Is there any detailed documentation for smaps ?
1 Answer 1
The «proportional set size» (PSS) of a process is the count of pages it has in memory, where each page is divided by the number of processes sharing it. So if a process has 1000 pages all to itself, and 1000 shared with one other process, its PSS will be 1500
The /proc/PID/smaps is an extension based on maps, showing the memory consumption for each of the process’s mappings. For each of mappings there is a series of lines such as the following:
The first of these lines shows the same information as is displayed for the mapping in /proc/PID/maps. The remaining lines show the size of the mapping (size), the amount of the mapping that is currently resident in RAM (RSS), the process’ proportional share of this mapping (PSS), the number of clean and dirty private pages in the mapping. Note that even a page which is part of a MAP_SHARED mapping, but has only a single pte mapped, i.e. is currently used by only one process, is accounted as private and not as shared. «Referenced» indicates the amount of memory currently marked as referenced or accessed. «Anonymous» shows the amount of memory that does not belong to any file. Even a mapping associated with a file may contain anonymous pages: when MAP_PRIVATE and a page is modified, the file page is replaced by a private anonymous copy. «Swap» shows how much would-be-anonymous memory is also used, but out on swap.
This Question on Unix and Linux Stackexchange covers almost the topic. See Mat’s excellent answer which will surely clear all your doubts.