mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:37:35 +00:00
Base: Move GUI application man pages into their own subsection
We do not want to move POSIX utilities into subsections since they have standard names, but we can do whatever we want with Applications :^). This is particularly advantageous as many applications contain several images, which declutters the man1 directory.
This commit is contained in:
parent
b89be9610d
commit
66a68a9523
45 changed files with 46 additions and 11 deletions
53
Base/usr/share/man/man1/Applications/Profiler.md
Normal file
53
Base/usr/share/man/man1/Applications/Profiler.md
Normal file
|
@ -0,0 +1,53 @@
|
|||
## Name
|
||||
|
||||
 Profiler - Serenity process profiler
|
||||
|
||||
[Open](file:///bin/Profiler)
|
||||
|
||||
## Synopsis
|
||||
|
||||
```**sh
|
||||
$ Profiler [--pid PID] [perfcore-file]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
||||
Profiler facilitates process performance profiling and provides a GUI offering
|
||||
visual graph and tree representations to easily navigate generated profiling
|
||||
information.
|
||||
|
||||
If no arguments are provided, a window containing a list of running processes
|
||||
is presented, allowing a process to be selected for profiling.
|
||||
|
||||
Profiling information is written to `perfcore.<pid>` in the working directory
|
||||
and opened immediately for browsing following termination of profiling.
|
||||
|
||||
Profiler can also load performance information from previously created
|
||||
`perfcore` files.
|
||||
|
||||
## Options
|
||||
|
||||
* `-p PID`, `--pid PID`: PID to profile
|
||||
|
||||
## Arguments
|
||||
|
||||
* `perfcore-file`: Path of perfcore file to load
|
||||
|
||||
## Examples
|
||||
|
||||
Profile running Shell process:
|
||||
|
||||
```sh
|
||||
$ Profiler -p $(pidof Shell)
|
||||
```
|
||||
|
||||
Open a previously created perfcore file for browsing:
|
||||
|
||||
```sh
|
||||
$ Profiler perfcore.123
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
* [`perfcore`(5)](help://man/5/perfcore)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue