Skip to content

Commit e2bb1cf

Browse files
authored
Merge pull request #3 from LucianBuzzo/lucianbuzzo/readme-screenshots
2 parents d35a31d + 1a8d213 commit e2bb1cf

6 files changed

Lines changed: 24 additions & 2 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
**/.DS_Store

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,26 @@ gatan --help
3737
gatan --version
3838
```
3939

40+
## Screenshots
41+
42+
<p align="center">
43+
<img src="docs/screenshots/gatan-list.png" alt="Main list view showing listening TCP processes" width="900" />
44+
<br/>
45+
<em>Main list view</em>
46+
</p>
47+
48+
<p align="center">
49+
<img src="docs/screenshots/gatan-inspect.png" alt="Inspect view showing process and command details" width="900" />
50+
<br/>
51+
<em>Inspect view</em>
52+
</p>
53+
54+
<p align="center">
55+
<img src="docs/screenshots/gatan-kill.png" alt="Kill confirmation flow with SIGTERM and optional SIGKILL" width="900" />
56+
<br/>
57+
<em>Kill flow</em>
58+
</p>
59+
4060
## Keybindings
4161

4262
- `Up` / `Down`: move selection

bin/gatan

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -565,8 +565,8 @@ app_start_inspect_top_refresh() {
565565
APP_INSPECT_TOP_JOB_FILE="$(mktemp "${TMPDIR:-/tmp}/gatan-top.${APP_INSPECT_PID}.XXXXXX")" || return 1
566566

567567
(
568-
actions_get_live_metrics_snapshot "$APP_INSPECT_PID" >"$APP_INSPECT_TOP_JOB_FILE" 2>/dev/null \
569-
|| printf '%s\n' "(metrics unavailable)" >"$APP_INSPECT_TOP_JOB_FILE"
568+
actions_get_live_metrics_snapshot "$APP_INSPECT_PID" >"$APP_INSPECT_TOP_JOB_FILE" 2>/dev/null ||
569+
printf '%s\n' "(metrics unavailable)" >"$APP_INSPECT_TOP_JOB_FILE"
570570
) &
571571
APP_INSPECT_TOP_JOB_PID=$!
572572

docs/screenshots/gatan-inspect.png

916 KB
Loading

docs/screenshots/gatan-kill.png

889 KB
Loading

docs/screenshots/gatan-list.png

873 KB
Loading

0 commit comments

Comments
 (0)