prompt
stringlengths
6
157
response
stringlengths
1
147
jq -S 'map(select(.status == "failed")) | length' /srv/app-69982/jobs.json | tee -a /tmp/app-69982.log | head
-n 20
awk -F, '{sum += $5} END {print sum}' /srv/app-69983/metrics.txt | paste -sd,
-
find /srv/app-69984 -type d
-name '*.log' -mtime +30 -exec gzip {} + || true
rsync -av --include='*.conf' --exclude='*' /srv/app-69985/ backup@host:/backups/app-69985/ |
grep -v '^#'
git -C /srv/app-69986 diff --stat HEAD~1..HEAD config/ |
sort -u
git -C /srv/app-69987 status --porcelain=v1 --ignored --untracked-files=all
| head -n 10
find /srv/app-69988 -type d -name '*.log' -printf
'%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find /srv/app-69989 -type l
-name '*.gz' -exec ls -lh {} + | fold -w 120
jq -r '.metadata' /srv/app-69990/data.json
| uniq -c
curl -fsS -u deploy:secret http://127.0.0.1:49991/app-69991/private |
sort
git -C /srv/app-69992 log --oneline -n 20 --grep='fix'
| nl -ba
grep -c 'timeout' /var/log/app-69993.log
--exclude-dir=vendor | cat
find /srv/app-69994 -type d -name '*.log' -printf '%s %p\n' | sort -nr
| head -n 10 | sort -n
lsof -p $(pgrep -f app-69995) | head -n
5
git -C /srv/app-69996 diff --check HEAD~1
src/ | uniq
grep -c 'timeout' /var/log/app-69997.log |
head -n 20
journalctl --since 'today' --output=short-iso | grep -i warn | tee /tmp/app-69998.out | head
-n 20
find /srv/app-69999 -type f -name '*.gz'
-size +50M -print | grep -E '^[^#]'
git -C /srv/app-70000 status --porcelain=v1 --branch
--untracked-files=all | awk '{print $2}'
read journal entries for svc-00001
journalctl --since '1 hour ago' -u svc-00001.service -n 100 -f | rev
summarize svc-00002 file statistics
wc -l -w /var/log/svc-00002.log | tee -a /tmp/svc-00002.log
query JSON data for svc-00003
jq --indent 2 '.status == "ok"' /srv/svc-00003/health.json | awk '{print $1}'
list changed files in /srv/svc-00004
git -C /srv/svc-00004 diff --check config/ 2>/dev/null
send a signal to svc-00005 workers
pkill -USR2 -f svc-00005 | head -n 10
find matching lines for svc-00006
grep -c 'ERROR' /var/log/svc-00006.log --include='*.py' | sort -nr
inspect pending changes in /srv/svc-00007
git -C /srv/svc-00007 diff --color-words origin/main...HEAD | awk '{print $2}'
find files under /srv/svc-00008
find /srv/svc-00008 -maxdepth 2 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
search the svc-00009 directory tree
find /srv/svc-00009 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | sort -n
summarize svc-00010 file statistics
wc -w /srv/svc-00010/README.md | sed 's/^/ /'
find matching lines for svc-00011
grep -Ril 'FIXME' /srv/svc-00011 --include='*.yaml' | awk '{print $1}'
inspect pending changes in /srv/svc-00012
git -C /srv/svc-00012 diff --numstat origin/main...HEAD | uniq -c
inspect network hops for svc-00013.example.com
traceroute -n -f 2 svc-00013.example.com | sort -u
search the svc-00014 directory tree
find /srv/svc-00014 -type d -name '*.tmp' -size +50M -delete | grep -i error
clean up selected files in /srv/svc-00015
find /srv/svc-00015 -type f -name '*.conf' -size +10M -exec ls -lh {} + | uniq -c
diagnose routing to svc-00016.example.com
traceroute -n -q 1 svc-00016.example.com | tail -n 10
inspect branch and file status for /srv/svc-00017
git -C /srv/svc-00017 status --short --untracked-files=all | less
find files under /srv/svc-00018
find /srv/svc-00018 -maxdepth 2 -type f -name '*.conf' -mtime +7 -delete | sort -nr
search the svc-00019 directory tree
find /srv/svc-00019 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
diagnose routing to svc-00020.example.com
traceroute -T -p 20020 svc-00020.example.com | tee /tmp/svc-00020.out
locate matching files in /srv/svc-00021
find /srv/svc-00021 -type l -name '*.conf' -mtime +30 -exec gzip {} + | grep -i error
check path selection for svc-00022.example.com
ip route get svc-00022.example.com oif lo | tac
find files under /srv/svc-00023
find /srv/svc-00023 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
filter JSON records for svc-00024
jq -r '.metadata' /srv/svc-00024/health.json 2>&1
replace values in svc-00025 files
sed -i.bak '/start/,/end/p' /etc/svc-00025/config.yml | uniq -c
locate matching files in /srv/svc-00026
find /srv/svc-00026 -maxdepth 2 -type f -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-00026.out
upgrade the svc-00027 chart
helm history svc-00027 -n svc-00027 | wc -l
find files under /srv/svc-00028
find /srv/svc-00028 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
search the svc-00029 directory tree
find /srv/svc-00029 -type l -name '*.tmp' -size +50M -print 2>&1 | tee /tmp/svc-00029.log
count matches in svc-00030 data
grep -Rn 'panic[(]' /srv/svc-00030 --include='*.py' | sed -n '1,20p'
locate matching files in /srv/svc-00031
find /srv/svc-00031 -mindepth 1 -type f -name '*.log' -size +50M -exec gzip {} + | cut -d: -f1
inspect pending changes in /srv/svc-00032
git -C /srv/svc-00032 diff --check --cached | tail -n 5
show running containers for svc-00033
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-00033' | tail -n 10
filter JSON records for svc-00034
jq -c '.metadata' /srv/svc-00034/health.json | tr -s ' '
clean up selected files in /srv/svc-00035
find /srv/svc-00035 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
locate matching files in /srv/svc-00036
find /srv/svc-00036 -mindepth 1 -type f -name '*.log' -print | cut -d, -f1
list matching paths under /srv/svc-00037
find /srv/svc-00037 -mindepth 1 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sort -n
find files under /srv/svc-00038
find /srv/svc-00038 -type f -empty -size +10M -exec gzip {} + | head -n 50
search the svc-00039 directory tree
find /srv/svc-00039 -type l -name '*.gz' -size +10M -print | sort -nr
validate JSON status for svc-00040
jq -S '.status == "ok"' /srv/svc-00040/users.json | column -t
extract JSON fields for svc-00041
jq '.services | keys[]' /srv/svc-00041/config.json | head -n 5
inspect branch and file status for /srv/svc-00042
git -C /srv/svc-00042 status --porcelain=v1 --untracked-files=all | grep -i warn
find files under /srv/svc-00043
find /srv/svc-00043 -type l -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
filter log content for svc-00044
grep -Ril 'panic[(]' /srv/svc-00044 --include='*.yaml' | uniq
clean up selected files in /srv/svc-00045
find /srv/svc-00045 -type l -name '*.log' -size +10M -exec gzip {} + | tail -n 50
count cron jobs for svc-00046
crontab -l | grep svc-00046 | awk '{print $1}' | wc -l
pretty-print JSON for svc-00047
jq -c '.status == "ok"' /srv/svc-00047/jobs.json | tail -n 5
query JSON data for svc-00048
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-00048/jobs.json | cut -d: -f1
filter log content for svc-00049
grep -RIn '^#' /etc/svc-00049/config.ini --exclude-dir=vendor | wc -l
print a git log summary for /srv/svc-00050
git -C /srv/svc-00050 log --name-status -n 50 --all | sed -n '1,20p'
show running containers for svc-00051
docker ps -a --filter 'status=running' | head -n 50 | tee /tmp/svc-00051.out | head -n 20
query journal history for svc-00052
journalctl --since '1 hour ago' -u svc-00052.service | head -n 5
find files under /srv/svc-00053
find /srv/svc-00053 -type f -name '*.gz' -size +10M -delete 2>/dev/null
filter log content for svc-00054
grep -RInE 'WARN' /var/log/svc-00054.log --include='*.py' | less
list repository status details in /srv/svc-00055
git -C /srv/svc-00055 status --porcelain=v2 --ignored --untracked-files=all | tail -n 10
display docker container details for svc-00056
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort -nr | tee /tmp/svc-00056.out | head -n 20
list matching paths under /srv/svc-00057
find /srv/svc-00057 -type f -empty -size +10M -exec ls -lh {} + | tee /tmp/svc-00057.out
search text for svc-00058
grep -c 'WARN' /var/log/svc-00058.log --include='*.go' | head -n 20
read journal entries for svc-00059
journalctl --since '1 hour ago' -u svc-00059.service -f | tac
clean up selected files in /srv/svc-00060
find /srv/svc-00060 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
list scheduled jobs for svc-00061
crontab -l | grep svc-00061 | sort | awk '{print $2}'
process log fields for svc-00062
awk -F'\t' 'NR % 100 == 0 {print NR, $0}' /var/log/svc-00062/app.log 2>&1 | tee /tmp/svc-00062.log
find files under /srv/svc-00063
find /srv/svc-00063 -mindepth 1 -type f -name '*.conf' -mtime +7 -print || true
search the svc-00064 directory tree
find /srv/svc-00064 -type d -name '*.conf' -size +50M -print | tr -s ' '
read journal entries for svc-00065
journalctl -u svc-00065.service -n 500 --output=short-iso | sort -u
compare revisions in /srv/svc-00066
git -C /srv/svc-00066 diff --check --cached -- | grep -v '^#'
check filesystem usage for svc-00067
df -hT /srv/svc-00067 | cat
display docker container details for svc-00068
docker ps -a --format '{{.Names}}' --filter 'status=exited' 2>&1 | tee /tmp/svc-00068.log
search the svc-00069 directory tree
find /srv/svc-00069 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
run a background task for svc-00070
nice -n 20 sh -c 'find /srv/svc-00070 -type f | wc -l' 2>&1 | tee /tmp/svc-00070.log
locate matching files in /srv/svc-00071
find /srv/svc-00071 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
display docker container details for svc-00072
docker ps -q --format '{{.Names}}' | sort -n | tee /tmp/svc-00072.out | head -n 20
create a git commit for /srv/svc-00073
git -C /srv/svc-00073 commit -m 'chore: update config' --allow-empty | less
filter JSON records for svc-00074
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-00074/jobs.json | tee /tmp/svc-00074.out
summarize git differences for /srv/svc-00075
git -C /srv/svc-00075 diff --check --cached src/ 2>&1
locate matching files in /srv/svc-00076
find /srv/svc-00076 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | column -t
inspect network hops for svc-00077.example.com
traceroute -n -q 1 svc-00077.example.com | tee /tmp/svc-00077.out
find files under /srv/svc-00078
find /srv/svc-00078 -mindepth 1 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
display the commit log for /srv/svc-00079
git -C /srv/svc-00079 log --graph --oneline -n 10 | paste -sd, -
query journal history for svc-00080
journalctl --since '1 hour ago' -u svc-00080.service -n 50 | wc -l
locate matching files in /srv/svc-00081
find /srv/svc-00081 -maxdepth 2 -type f -name '*.conf' -size +50M -print | cut -d, -f1