prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-10182
find /srv/svc-10182 -type l -name '*.conf' -size +50M -exec gzip {} + | head -n 10
show running containers for svc-10183
docker ps -q --format '{{.Names}}' --filter 'status=running' | grep -v '^#' | tee /tmp/svc-10183.out | head -n 20
query systemd status for svc-10184
systemctl status svc-10184.socket | sort -u
replace values in svc-10185 files
sed -i.bak 's/^#*Port .*/Port 30185/' /etc/svc-10185/sshd_config | cut -d, -f1
find matching lines for svc-10186
grep -RInE 'ERROR' /var/log/svc-10186.log --include='*.go' | head -n 10
list matching paths under /srv/svc-10187
find /srv/svc-10187 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | tail -n 50
query JSON data for svc-10188
jq '.items[] | select(.id == 10188) | .name' /srv/svc-10188/data.json | sed -n '1,20p'
filter log content for svc-10189
grep -n -A3 -B3 'WARN' /var/log/svc-10189.log --include='*.py' | paste -sd, -
clean up selected files in /srv/svc-10190
find /srv/svc-10190 -type f -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
summarize text columns for svc-10191
awk -F'\t' '{print length($0), $0}' /etc/svc-10191/config.ini | sort -nr | head | head -n 10
pretty-print JSON for svc-10192
jq -r '.items[] | .name' /srv/svc-10192/data.json | sort -n
search text for svc-10193
grep -RInE 'FIXME' /srv/svc-10193 --include='*.yaml' | sort -k2
search the svc-10194 directory tree
find /srv/svc-10194 -mindepth 1 -type f -name '*.json' -size +50M -print >> /tmp/svc-10194.out
show running containers for svc-10195
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | grep -i warn | tee /tmp/svc-10195.out | head -n 20
locate matching files in /srv/svc-10196
find /srv/svc-10196 -type l -name '*.conf' -exec ls -lh {} + | rev
display recent container output for svc-10197
docker logs --tail 500 svc-10197 2>&1 | tee -a /tmp/svc-10197.log
count cron jobs for svc-10198
crontab -l | grep svc-10198 | wc -l 2>/dev/null
inspect routing for svc-10199.example.com
ip route get svc-10199.example.com oif lo | column -t
query journal history for svc-10200
journalctl -u svc-10200.service --since '24 hours ago' -n 50 --output=short-iso | less
display recent container output for svc-10201
docker logs --tail 100 svc-10201 2>&1 | cat
list matching paths under /srv/svc-10202
find /srv/svc-10202 -type f -empty -mtime +7 -exec gzip {} + | tail -n 10
query JSON data for svc-10203
jq -c '.users[] | select(.active == true) | .email' /srv/svc-10203/health.json | paste -sd, -
filter JSON records for svc-10204
jq '.users[] | select(.active == true) | .email' /srv/svc-10204/config.json | cut -d, -f1
clean up selected files in /srv/svc-10205
find /srv/svc-10205 -type d -empty -exec ls -lh {} + | nl -ba
locate matching files in /srv/svc-10206
find /srv/svc-10206 -type d -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
list matching paths under /srv/svc-10207
find /srv/svc-10207 -type d -name '*.json' -exec gzip {} + | grep -E '^[^#]'
diagnose routing to svc-10208.example.com
traceroute -n -4 svc-10208.example.com | uniq -c
search the svc-10209 directory tree
find /srv/svc-10209 -mindepth 1 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
print a git log summary for /srv/svc-10210
git -C /srv/svc-10210 log --oneline -n 10 --all | grep -v '^#'
list git history for /srv/svc-10211
git -C /srv/svc-10211 log --oneline -n 20 --grep='fix' | wc -l
check path selection for svc-10212.example.com
ip route get svc-10212.example.com iif lo | sort
replace values in svc-10213 files
sed -i '/ERROR/p' /var/log/svc-10213.log | cat
search the svc-10214 directory tree
find /srv/svc-10214 -type l -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tac
count matches in svc-10215 data
grep -RInE 'TODO' /srv/svc-10215 --exclude='*.min.js' | uniq
count cron jobs for svc-10216
crontab -l | grep svc-10216 | cut -d' ' -f1-5 | awk '{print $2}'
inspect systemd unit state for svc-10217
systemctl start svc-10217.service --no-block | column -t
query systemd status for svc-10218
systemctl show svc-10218.timer --no-pager | tail -n 50
filter JSON records for svc-10219
jq -c '.metadata' /srv/svc-10219/health.json | sed 's/^/ /'
clean up selected files in /srv/svc-10220
find /srv/svc-10220 -type l -name '*.conf' -exec gzip {} + || true
show pods for svc-10221
kubectl get deploy svc-10221 -n svc-10221 -o yaml | head -n 20
diagnose routing to svc-10222.example.com
traceroute -n -m 10 svc-10222.example.com | head -n 20
inspect systemd unit state for svc-10223
systemctl restart svc-10223.timer --no-block | head -n 10
search the svc-10224 directory tree
find /srv/svc-10224 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -delete 2>/dev/null
inspect systemd unit state for svc-10225
systemctl stop svc-10225.service --no-pager
find matching lines for svc-10226
grep -n -A3 -B3 'WARN' /var/log/svc-10226.log | less
list matching paths under /srv/svc-10227
find /srv/svc-10227 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
check port bindings for svc-10228
ss -tulpn 'sport = :30228' | grep svc-10228 | column -t
check changed files in /srv/svc-10229
git -C /srv/svc-10229 status --long --untracked-files=normal | head -n 5
run a background task for svc-10230
nice -n 10 tar -czf /backup/svc-10230.tar.gz /srv/svc-10230 | paste -sd, -
display the working tree state in /srv/svc-10231
git -C /srv/svc-10231 status --long --show-stash | grep -v '^#'
list matching paths under /srv/svc-10232
find /srv/svc-10232 -type f -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | wc -l
search text for svc-10233
grep -Ril '^#' /etc/svc-10233/config.ini | sort
display the commit log for /srv/svc-10234
git -C /srv/svc-10234 log --stat -n 20 --grep='fix' | cat
clean up selected files in /srv/svc-10235
find /srv/svc-10235 -type l -name '*.log' -newermt '1 day ago' -delete | tee -a /tmp/svc-10235.log
locate matching files in /srv/svc-10236
find /srv/svc-10236 -type f -name '*.log' -exec gzip {} + | tail -n 20
inspect groups for svc-10237
id -G svc-10237 | nl -ba
display docker container details for svc-10238
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | head -n 10 | tee /tmp/svc-10238.out | head -n 20
search the svc-10239 directory tree
find /srv/svc-10239 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
summarize git differences for /srv/svc-10240
git -C /srv/svc-10240 diff --stat --cached 2>&1 | tee /tmp/svc-10240.log
extract JSON fields for svc-10241
jq -e '.status == "ok"' /srv/svc-10241/config.json | column -t
check cluster state for svc-10242
kubectl get pods -n svc-10242 | uniq
replace values in svc-10243 files
sed -i '1,120p' /var/log/svc-10243.log 2>&1
list changed files in /srv/svc-10244
git -C /srv/svc-10244 diff --stat HEAD~1 | sed 's/^/ /'
clean up selected files in /srv/svc-10245
find /srv/svc-10245 -type l -name '*.log' -mtime +7 -exec ls -lh {} + | less
sort svc-10246 files with custom fields
sort -k2,2 /etc/svc-10246/hosts | grep -E '^[^#]'
pretty-print JSON for svc-10247
jq -r '.users[] | select(.active == true) | .email' /srv/svc-10247/data.json | paste -sd, -
find files under /srv/svc-10248
find /srv/svc-10248 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
query DNS records for svc-10249.example.com
dig +short svc-10249.example.com A | rev
summarize git differences for /srv/svc-10250
git -C /srv/svc-10250 diff --stat HEAD~2..HEAD config/ | awk '{print $2}'
locate matching files in /srv/svc-10251
find /srv/svc-10251 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
list matching paths under /srv/svc-10252
find /srv/svc-10252 -type l -name '*.json' -size +10M -delete | tail -n 50
find files under /srv/svc-10253
find /srv/svc-10253 -type d -name '*.json' -size +50M -print | nl -ba
read container logs for svc-10254
docker logs --since '1h' --timestamps svc-10254 | grep -i error | sed -n '1,20p'
read journal entries for svc-10255
journalctl -u svc-10255.service --since '24 hours ago' -n 50 | sort -u
list git history for /srv/svc-10256
git -C /srv/svc-10256 log --oneline -n 50 | cut -d: -f1
read journal entries for svc-10257
journalctl --since 'today' -n 100 --no-pager | head -n 50 | tee /tmp/svc-10257.out | head -n 20
find files under /srv/svc-10258
find /srv/svc-10258 -type d -name '*.gz' -size +50M -exec ls -lh {} + 2>&1
search the svc-10259 directory tree
find /srv/svc-10259 -maxdepth 2 -type f -empty -size +10M -print 2>/dev/null
count matches in svc-10260 data
grep -RIn 'timeout' /var/log/svc-10260.log --include='*.py' | head -n 5
extract JSON fields for svc-10261
jq -e '.metadata' /srv/svc-10261/health.json | sort -k2
display docker container details for svc-10262
docker ps -a --format '{{.Names}}' | head -n 10 | tee /tmp/svc-10262.out | head -n 20
find files under /srv/svc-10263
find /srv/svc-10263 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | head -n 5
filter JSON records for svc-10264
jq -e 'map(select(.status == "failed")) | length' /srv/svc-10264/health.json >> /tmp/svc-10264.out
read journal entries for svc-10265
journalctl -u svc-10265.service --until '1 hour ago' --no-pager | nl -ba
execute a container task for svc-10266
docker run --rm -d -v /srv/svc-10266:/data alpine:3.20 du -sh /data | tee /tmp/svc-10266.out
check filesystem usage for svc-10267
df -hT /srv/svc-10267 | awk '{print $1}'
find files under /srv/svc-10268
find /srv/svc-10268 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | column -t
search the svc-10269 directory tree
find /srv/svc-10269 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
count matches in svc-10270 data
grep -n -A3 -B3 '^#' /etc/svc-10270/config.ini --include='*.go' | cut -d: -f1
locate matching files in /srv/svc-10271
find /srv/svc-10271 -type l -name '*.json' -exec ls -lh {} + | fold -w 120
inspect process matches for svc-10272
pgrep -l -f svc-10272 | cut -d: -f1
query JSON data for svc-10273
jq -e '.users[] | select(.active == true) | .email' /srv/svc-10273/data.json | awk '{print $1}'
summarize svc-10274 storage use
du -sh --exclude='*.log' /srv/svc-10274 | awk '{print $1}'
clean up selected files in /srv/svc-10275
find /srv/svc-10275 -type d -empty -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
locate matching files in /srv/svc-10276
find /srv/svc-10276 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | tail -n 10
list matching paths under /srv/svc-10277
find /srv/svc-10277 -type f -name '*.gz' -size +10M -delete | column -t
show the diff in /srv/svc-10278
git -C /srv/svc-10278 diff --numstat HEAD~1 | nl -ba
filter JSON records for svc-10279
jq -e 'map(select(.status == "failed")) | length' /srv/svc-10279/config.json | tail -n 20
compress application files for svc-10280
tar -tzf /backup/svc-10280.tar.gz | head -n 20 | tail -n 10
extract JSON fields for svc-10281
jq -S '.status == "ok"' /srv/svc-10281/jobs.json | sort -k2