Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Problematic line wrapping in ```terminal #4

@ScrumpyJack

Description

@ScrumpyJack

markdown
* Show the total number of 5XX each account is getting in a DC

```terminal
ansible -i inventory proxy -m shell -a "awk -F'/' '/v1.S.\ 50[0-9]\ / {gsub(/\ ./,"",$5);count[$5]++} END {for (acc in count) print acc, count[acc]}' /u01/oss/proxy/log/galaxy/localhost_access_log.txt" | awk '/Storage/ {a[$1] += $2} END{for (i in a) print i, a[i]|"sort -nr -k2"}'
```

  • Show the total number of 5XX each account is getting in a DC

```bash
ansible -i inventory proxy -m shell -a "awk -F'/' '/v1.S.\ 50[0-9]\ / {gsub(/\ ./,"",$5);count[$5]++} END {for (acc in count) print acc, count[acc]}' /u01/oss/proxy/log/galaxy/localhost_access_log.txt" | awk '/Storage/ {a[$1] += $2} END{for (i in a) print i, a[i]|"sort -nr -k2"}'
```

render:

Screenshot 2024-03-03 at 00 16 02

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions