prompt
stringlengths
6
157
response
stringlengths
1
147
query journal history for svc-18082
journalctl --since 'today' -n 50 --no-pager | grep -v '^#' | tee /tmp/svc-18082.out | head -n 20
query JSON data for svc-18083
jq -e '.status == "ok"' /srv/svc-18083/health.json | tee /tmp/svc-18083.out
display the commit log for /srv/svc-18084
git -C /srv/svc-18084 log --format='%h %ad %s' --date=short -n 100 --author='deploy' 2>&1
validate JSON status for svc-18085
jq -e '.services | keys[]' /srv/svc-18085/jobs.json | head -n 20
locate matching files in /srv/svc-18086
find /srv/svc-18086 -type f -name '*.log' -size +10M -delete
list matching paths under /srv/svc-18087
find /srv/svc-18087 -type l -name '*.conf' -mtime +30 -exec ls -lh {} + | tail -n 20
query JSON data for svc-18088
jq --indent 2 '.items[] | .name' /srv/svc-18088/jobs.json | head -n 50
run tests for svc-18089
make -C /srv/svc-18089 -B build | tail -n 20
save a commit message for /srv/svc-18090
git -C /srv/svc-18090 commit -m 'feat: add health check' || true
locate matching files in /srv/svc-18091
find /srv/svc-18091 -type l -name '*.gz' -mtime +30 -print | column -t
list matching paths under /srv/svc-18092
find /srv/svc-18092 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | cat
search text for svc-18093
grep -v 'ERROR' /var/log/svc-18093.log --exclude-dir=vendor | cut -d, -f1
filter JSON records for svc-18094
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-18094/users.json | tail -n 50
clean up selected files in /srv/svc-18095
find /srv/svc-18095 -mindepth 1 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort
find matching lines for svc-18096
grep -c 'secret' /etc/svc-18096 | grep -i error
scan configuration files for svc-18097
grep -Rn 'FIXME' /srv/svc-18097 --exclude-dir=vendor | head -n 10
search text for svc-18098
grep -RInE 'timeout' /var/log/svc-18098.log | uniq
search the svc-18099 directory tree
find /srv/svc-18099 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 50
display docker container details for svc-18100
docker ps -aq | sort -k2 | tee /tmp/svc-18100.out | head -n 20
extract JSON fields for svc-18101
jq -S '.metadata' /srv/svc-18101/users.json | sort -nr
count cron jobs for svc-18102
crontab -l | grep svc-18102 | sort | nl -ba
find files under /srv/svc-18103
find /srv/svc-18103 -type f -name '*.conf' -print | tee /tmp/svc-18103.out
filter JSON records for svc-18104
jq '.users[] | select(.active == true) | .email' /srv/svc-18104/data.json | column -t
clean up selected files in /srv/svc-18105
find /srv/svc-18105 -type l -name '*.tmp' -size +10M -print | sort -k2
locate matching files in /srv/svc-18106
find /srv/svc-18106 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
summarize text columns for svc-18107
awk -F: '{print $1}' /var/log/svc-18107/access.log | sort | uniq -c | sort -nr | head | nl -ba
search text for svc-18108
grep -c 'ERROR' /var/log/svc-18108.log --exclude='*.min.js' | uniq
search the svc-18109 directory tree
find /srv/svc-18109 -type d -name '*.log' -mtime +7 -exec ls -lh {} + 2>/dev/null
query systemd status for svc-18110
systemctl show svc-18110.service | less
list git history for /srv/svc-18111
git -C /srv/svc-18111 log --name-status -n 20 --decorate | column -t
scan configuration files for svc-18112
grep -RIn 'timeout' /var/log/svc-18112.log --include='*.py' | head -n 20
inspect network hops for svc-18113.example.com
traceroute -n -m 10 svc-18113.example.com
filter JSON records for svc-18114
jq -c '.metadata' /srv/svc-18114/users.json | tail -n 5
summarize git differences for /srv/svc-18115
git -C /srv/svc-18115 diff --check HEAD~2..HEAD | wc -l
find matching lines for svc-18116
grep -c '^#' /etc/svc-18116/config.ini --include='*.py' | sort -nr
start a disposable docker container for svc-18117
docker run --rm -v /srv/svc-18117:/data alpine:3.20 du -sh /data | cat
find files under /srv/svc-18118
find /srv/svc-18118 -type l -empty -size +10M -exec gzip {} + | fold -w 120
search the svc-18119 directory tree
find /srv/svc-18119 -mindepth 1 -type f -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
test network path to svc-18120.example.com
ping -c 4 -s 1200 svc-18120.example.com | uniq -c
replace values in svc-18121 files
sed -i.bak '/start/,/end/p' /etc/svc-18121/config.yml 2>/dev/null
list matching paths under /srv/svc-18122
find /srv/svc-18122 -mindepth 1 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
send a signal to svc-18123 workers
pkill -HUP -f svc-18123 | awk '{print $1}'
filter log content for svc-18124
grep -Rn 'secret' /etc/svc-18124 --include='*.yaml' | head -n 20
count matches in svc-18125 data
grep -Rn 'panic[(]' /srv/svc-18125 --include='*.py' | wc -l
extract JSON fields for svc-18126
jq '.status == "ok"' /srv/svc-18126/data.json | head -n 50
inspect pending changes in /srv/svc-18127
git -C /srv/svc-18127 diff --name-status src/ | nl -ba
query systemd status for svc-18128
systemctl reload svc-18128.service | tac
search the svc-18129 directory tree
find /srv/svc-18129 -type d -name '*.log' -print | sort
clean up selected files in /srv/svc-18130
find /srv/svc-18130 -type l -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
display recent container output for svc-18131
docker logs --tail 100 --timestamps svc-18131 | tail -n 50
list matching paths under /srv/svc-18132
find /srv/svc-18132 -type d -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
find files under /srv/svc-18133
find /srv/svc-18133 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | tr -s ' '
display the commit log for /srv/svc-18134
git -C /srv/svc-18134 log --graph --oneline -n 10 --since='1 week ago' | cut -d: -f1
clean up selected files in /srv/svc-18135
find /srv/svc-18135 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
query systemd status for svc-18136
systemctl stop svc-18136.service --no-pager | sort -u
list matching paths under /srv/svc-18137
find /srv/svc-18137 -type d -name '*.conf' -newermt '1 day ago' -delete 2>&1
show the diff in /srv/svc-18138
git -C /srv/svc-18138 diff --name-only src/ | tee -a /tmp/svc-18138.log
start a disposable docker container for svc-18139
docker run --rm -d -v /srv/svc-18139/logs:/logs:ro busybox:1.36 df -h | paste -sd, -
query journal history for svc-18140
journalctl -u svc-18140.service --until '1 hour ago' -f | awk '{print $1}'
compare revisions in /srv/svc-18141
git -C /srv/svc-18141 diff --color-words HEAD~2..HEAD src/ | tail -n 20
pretty-print JSON for svc-18142
jq -S 'map(select(.status == "failed")) | length' /srv/svc-18142/users.json | head -n 20
show the diff in /srv/svc-18143
git -C /srv/svc-18143 diff --name-only HEAD~2..HEAD -- || true
search the svc-18144 directory tree
find /srv/svc-18144 -type l -name '*.tmp' -newermt '1 day ago' -delete | tr -s ' '
clean up selected files in /srv/svc-18145
find /srv/svc-18145 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + || true
display docker container details for svc-18146
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | paste -sd, - | tee /tmp/svc-18146.out | head -n 20
scan configuration files for svc-18147
grep -Ril 'panic[(]' /srv/svc-18147 --include='*.go' | tee /tmp/svc-18147.out
find files under /srv/svc-18148
find /srv/svc-18148 -type f -empty -size +50M -print | sort -n
filter log content for svc-18149
grep -RInE 'ERROR' /var/log/svc-18149.log --include='*.py' | tee /tmp/svc-18149.out
clean up selected files in /srv/svc-18150
find /srv/svc-18150 -type l -name '*.gz' -mtime +7 -exec gzip {} + 2>&1
show running containers for svc-18151
docker ps --latest --format '{{.Names}}' --filter 'label=app=svc-18151' > /tmp/svc-18151.out
list matching paths under /srv/svc-18152
find /srv/svc-18152 -type d -name '*.tmp' -size +50M -delete | paste -sd, -
deduplicate svc-18153 log entries
uniq -c -i /var/log/svc-18153.log | sort -nr | head | nl -ba
search the svc-18154 directory tree
find /srv/svc-18154 -type l -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | tee -a /tmp/svc-18154.log
clean up selected files in /srv/svc-18155
find /srv/svc-18155 -type l -name '*.gz' -delete | tac
find processes using svc-18156 files
lsof -u svc-18156 | tail -n 5
list matching paths under /srv/svc-18157
find /srv/svc-18157 -type l -empty -size +10M -print | column -t
find files under /srv/svc-18158
find /srv/svc-18158 -type d -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
read journal entries for svc-18159
journalctl --since 'today' -n 50 --no-pager | head -n 10 | tee /tmp/svc-18159.out | head -n 20
print a git log summary for /srv/svc-18160
git -C /srv/svc-18160 log --graph --oneline -n 10 --grep='fix' | tee /tmp/svc-18160.out
extract JSON fields for svc-18161
jq --indent 2 '.services | keys[]' /srv/svc-18161/data.json | tac
list matching paths under /srv/svc-18162
find /srv/svc-18162 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
inspect file handles for svc-18163
lsof -i :38163 -P -n | grep svc-18163 | rev
filter JSON records for svc-18164
jq -r '.users[] | select(.active == true) | .email' /srv/svc-18164/config.json 2>&1
validate JSON status for svc-18165
jq -r '.items[] | .name' /srv/svc-18165/health.json | tail -n 20
find matching lines for svc-18166
grep -n -A3 -B3 'FIXME' /srv/svc-18166 --include='*.py' | grep -E '^[^#]'
list matching paths under /srv/svc-18167
find /srv/svc-18167 -type l -name '*.tmp' -mtime +7 -print | paste -sd, -
query journal history for svc-18168
journalctl -u svc-18168.service --since '24 hours ago' -n 100 -f | head -n 20
inspect systemd unit state for svc-18169
systemctl stop svc-18169.timer --no-block
count matches in svc-18170 data
grep -c '^#' /etc/svc-18170/config.ini | tail -n 50
extract JSON fields for svc-18171
jq '.services | keys[]' /srv/svc-18171/config.json | tee /tmp/svc-18171.out
list matching paths under /srv/svc-18172
find /srv/svc-18172 -type f -empty -mtime +30 -exec ls -lh {} + | paste -sd, -
find files under /srv/svc-18173
find /srv/svc-18173 -type l -name '*.conf' -size +10M -delete | head -n 20
display the commit log for /srv/svc-18174
git -C /srv/svc-18174 log --oneline -n 50 --decorate | sort -u
inspect systemd unit state for svc-18175
systemctl start svc-18175.service --no-pager | uniq -c
locate matching files in /srv/svc-18176
find /srv/svc-18176 -type f -name '*.tmp' -newermt '1 day ago' -delete | awk '{print $2}'
inspect pending changes in /srv/svc-18177
git -C /srv/svc-18177 diff --name-only HEAD~2..HEAD -- >> /tmp/svc-18177.out
find files under /srv/svc-18178
find /srv/svc-18178 -type f -empty -newermt '1 day ago' -exec gzip {} + | tee -a /tmp/svc-18178.log
show running containers for svc-18179
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort -n | tee /tmp/svc-18179.out | head -n 20
clean up selected files in /srv/svc-18180
find /srv/svc-18180 -type d -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
locate matching files in /srv/svc-18181
find /srv/svc-18181 -type l -name '*.json' -mtime +30 -delete | sed 's/^/ /'