prompt
stringlengths
6
157
response
stringlengths
1
147
display docker container details for svc-00382
docker ps -a --no-trunc --filter 'status=exited' >> /tmp/svc-00382.out
find files under /srv/svc-00383
find /srv/svc-00383 -type f -name '*.conf' -mtime +7 -print 2>&1
display the commit log for /srv/svc-00384
git -C /srv/svc-00384 log --name-status -n 10 --grep='fix' | head -n 20
print a git log summary for /srv/svc-00385
git -C /srv/svc-00385 log --oneline -n 10 --decorate | tee /tmp/svc-00385.out
query systemd status for svc-00386
systemctl status svc-00386.socket | tac
replace values in svc-00387 files
sed -n '/ERROR/p' /var/log/svc-00387.log | sort
query JSON data for svc-00388
jq --indent 2 '.items[] | select(.id == 388) | .name' /srv/svc-00388/jobs.json | tac
search the svc-00389 directory tree
find /srv/svc-00389 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | sort -k2
clean up selected files in /srv/svc-00390
find /srv/svc-00390 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | tail -n 10
find matching lines for svc-00391
grep -RInE 'ERROR' /var/log/svc-00391.log --exclude='*.min.js' > /tmp/svc-00391.out
list matching paths under /srv/svc-00392
find /srv/svc-00392 -maxdepth 2 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | rev
inspect groups for svc-00393
id -a svc-00393 >> /tmp/svc-00393.out
search the svc-00394 directory tree
find /srv/svc-00394 -maxdepth 2 -type f -name '*.conf' -size +50M -print | wc -l
count matches in svc-00395 data
grep -c 'WARN' /var/log/svc-00395.log --include='*.go' | uniq
find matching lines for svc-00396
grep -Rn 'WARN' /var/log/svc-00396.log --exclude-dir=vendor | sed 's/^/ /'
inspect pending changes in /srv/svc-00397
git -C /srv/svc-00397 diff --numstat origin/main...HEAD config/ | grep -v '^#'
query JSON data for svc-00398
jq --indent 2 '.services | keys[]' /srv/svc-00398/health.json | sed 's/^/ /'
check changed files in /srv/svc-00399
git -C /srv/svc-00399 status --porcelain=v1 | uniq
verify a network port for svc-00400
nc -zv svc-00400.example.com 8080 | tail -n 20
locate matching files in /srv/svc-00401
find /srv/svc-00401 -type l -name '*.tmp' -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-00401.log
list matching paths under /srv/svc-00402
find /srv/svc-00402 -type d -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
search text for svc-00403
grep -Rn 'TODO' /srv/svc-00403 --exclude-dir=vendor | tac
search the svc-00404 directory tree
find /srv/svc-00404 -maxdepth 2 -type f -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 || true
count matches in svc-00405 data
grep -c 'panic[(]' /srv/svc-00405 --include='*.go' > /tmp/svc-00405.out
display docker container details for svc-00406
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'status=exited' | tr -s ' ' | tee /tmp/svc-00406.out | head -n 20
list matching paths under /srv/svc-00407
find /srv/svc-00407 -type l -empty -mtime +7 -exec gzip {} + | awk '{print $1}'
query JSON data for svc-00408
jq -e '.users[] | select(.active == true) | .email' /srv/svc-00408/jobs.json | cut -d: -f1
display recent container output for svc-00409
docker logs --since '1h' --timestamps svc-00409 | cut -d, -f1
clean up selected files in /srv/svc-00410
find /srv/svc-00410 -mindepth 1 -type f -name '*.log' -mtime +7 -exec gzip {} + | awk '{print $1}'
read journal entries for svc-00411
journalctl --since 'today' -n 500 -f | rev | tee /tmp/svc-00411.out | head -n 20
save a commit message for /srv/svc-00412
git -C /srv/svc-00412 commit -m 'fix: handle timeout' | sort -nr
find files under /srv/svc-00413
find /srv/svc-00413 -mindepth 1 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
search the svc-00414 directory tree
find /srv/svc-00414 -type f -name '*.json' -size +10M -delete | tail -n 10
list repository status details in /srv/svc-00415
git -C /srv/svc-00415 status --porcelain=v2 --ignored --untracked-files=normal | sort -n
compare revisions in /srv/svc-00416
git -C /srv/svc-00416 diff --color-words HEAD~1 -- | sort -n
list matching paths under /srv/svc-00417
find /srv/svc-00417 -maxdepth 2 -type f -empty -size +10M -delete | wc -l
find files under /srv/svc-00418
find /srv/svc-00418 -type d -name '*.tmp' -size +50M -exec ls -lh {} + | tr -s ' '
filter log content for svc-00419
grep -n -A3 -B3 'panic[(]' /srv/svc-00419 --exclude-dir=vendor | uniq -c
print a git log summary for /srv/svc-00420
git -C /srv/svc-00420 log --graph --oneline -n 100 | uniq
find matching lines for svc-00421
grep -Rn 'FIXME' /srv/svc-00421 --include='*.py' | sort
list matching paths under /srv/svc-00422
find /srv/svc-00422 -type f -name '*.tmp' -size +50M -delete | grep -i error
inspect systemd unit state for svc-00423
systemctl is-enabled svc-00423.service | awk '{print $1}'
filter log content for svc-00424
grep -n -A3 -B3 'FIXME' /srv/svc-00424 --include='*.go' | awk '{print $1}'
show running containers for svc-00425
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' | tac | tee /tmp/svc-00425.out | head -n 20
display docker container details for svc-00426
docker ps --latest --format '{{.ID}} {{.Image}}' | awk '{print $1}' | tee /tmp/svc-00426.out | head -n 20
scan configuration files for svc-00427
grep -Rn 'TODO' /srv/svc-00427 2>&1
search text for svc-00428
grep -Rn 'ERROR' /var/log/svc-00428.log --exclude='*.min.js' | cut -d, -f1
filter log content for svc-00429
grep -c 'secret' /etc/svc-00429 --include='*.yaml' | tail -n 20
clean up selected files in /srv/svc-00430
find /srv/svc-00430 -type f -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-00430.out
locate matching files in /srv/svc-00431
find /srv/svc-00431 -type d -name '*.gz' -exec ls -lh {} + | sort -nr
find processes using svc-00432 files
lsof -i :20432 -P -n | grep svc-00432 2>/dev/null
query JSON data for svc-00433
jq -S '.services | keys[]' /srv/svc-00433/health.json | tail -n 5
execute a container task for svc-00434
docker run --rm -it -v /srv/svc-00434:/data busybox:1.36 df -h | tac
inspect systemd unit state for svc-00435
systemctl restart svc-00435.service | sort
display docker container details for svc-00436
docker ps -a --no-trunc --format '{{.Names}}' | awk '{print $1}' | tee /tmp/svc-00436.out | head -n 20
list matching paths under /srv/svc-00437
find /srv/svc-00437 -type l -empty -mtime +7 -delete | tee -a /tmp/svc-00437.log
test network path to svc-00438.example.com
ping -c 4 svc-00438.example.com | head -n 10
filter JSON records for svc-00439
jq '.items[] | .name' /srv/svc-00439/users.json | tee /tmp/svc-00439.out
clean up selected files in /srv/svc-00440
find /srv/svc-00440 -mindepth 1 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 20
find matching lines for svc-00441
grep -RIn 'panic[(]' /srv/svc-00441 --exclude='*.min.js' > /tmp/svc-00441.out
list matching paths under /srv/svc-00442
find /srv/svc-00442 -mindepth 1 -type f -name '*.conf' -size +50M -exec gzip {} + | sort -k2
find files under /srv/svc-00443
find /srv/svc-00443 -type d -name '*.log' -mtime +30 -print | wc -l
search the svc-00444 directory tree
find /srv/svc-00444 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | head -n 10
summarize git differences for /srv/svc-00445
git -C /srv/svc-00445 diff --name-status HEAD~2..HEAD src/ | head -n 10
locate matching files in /srv/svc-00446
find /srv/svc-00446 -type l -name '*.json' -delete | grep -i error
read journal entries for svc-00447
journalctl -u svc-00447.service --since '24 hours ago' -n 50 --no-pager | awk '{print $2}'
query journal history for svc-00448
journalctl --since 'today' -n 100 | sort -n | tee /tmp/svc-00448.out | head -n 20
schedule svc-00449 maintenance with nice
nice -n 5 sort -o /tmp/svc-00449.sorted /srv/svc-00449/data.csv | grep -v '^#'
list repository status details in /srv/svc-00450
git -C /srv/svc-00450 status --branch > /tmp/svc-00450.out
list git history for /srv/svc-00451
git -C /srv/svc-00451 log --oneline -n 100 --author='deploy' | sort -k2
read container logs for svc-00452
docker logs --tail 500 -f svc-00452 2>&1 | awk '{print $1}'
find files under /srv/svc-00453
find /srv/svc-00453 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + 2>&1
search the svc-00454 directory tree
find /srv/svc-00454 -type l -name '*.log' -mtime +30 -exec gzip {} + | sed -n '1,20p'
clean up selected files in /srv/svc-00455
find /srv/svc-00455 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | tail -n 5
locate matching files in /srv/svc-00456
find /srv/svc-00456 -type f -name '*.json' -exec ls -lh {} + | awk '{print $2}'
scan configuration files for svc-00457
grep -Ril 'ERROR' /var/log/svc-00457.log --exclude-dir=vendor | tail -n 5
query JSON data for svc-00458
jq -e '.items[] | select(.id == 458) | .name' /srv/svc-00458/users.json | grep -v '^#'
search the svc-00459 directory tree
find /srv/svc-00459 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | grep -i warn
count matches in svc-00460 data
grep -v 'timeout' /var/log/svc-00460.log --include='*.go' | column -t
extract JSON fields for svc-00461
jq -r '.items[] | .name' /srv/svc-00461/users.json 2>/dev/null
query journal history for svc-00462
journalctl -u svc-00462.service --until '1 hour ago' -n 500 --no-pager | tail -n 50
search text for svc-00463
grep -Rn 'TODO' /srv/svc-00463 --include='*.go' | tr -s ' '
filter log content for svc-00464
grep -n -A3 -B3 '^#' /etc/svc-00464/config.ini | uniq -c
clean up selected files in /srv/svc-00465
find /srv/svc-00465 -type f -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
locate matching files in /srv/svc-00466
find /srv/svc-00466 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | sort
list matching paths under /srv/svc-00467
find /srv/svc-00467 -type l -name '*.gz' -mtime +7 -exec gzip {} + | tee /tmp/svc-00467.out
find files under /srv/svc-00468
find /srv/svc-00468 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + | uniq
inspect TCP ports for svc-00469
ss -tln | grep svc-00469 | tail -n 50
clean up selected files in /srv/svc-00470
find /srv/svc-00470 -type d -name '*.conf' -size +10M -print | nl -ba
measure the size of svc-00471 data
wc -l /var/log/svc-00471.log | sort -n
clean up svc-00472 text files
sed -n '/ERROR/p' /var/log/svc-00472.log > /tmp/svc-00472.out
find files under /srv/svc-00473
find /srv/svc-00473 -type f -empty -print | head -n 5
check changed files in /srv/svc-00474
git -C /srv/svc-00474 status --short | column -t
clean up selected files in /srv/svc-00475
find /srv/svc-00475 -type f -empty -size +50M -exec ls -lh {} + | paste -sd, -
compare revisions in /srv/svc-00476
git -C /srv/svc-00476 diff --stat src/ | tee -a /tmp/svc-00476.log
inspect file handles for svc-00477
lsof -p $(pgrep -f svc-00477) -a -d cwd | paste -sd, -
split svc-00478 records by delimiter
cut -d' ' -f1 /var/log/svc-00478/access.log | sort | uniq -c | head -n 50
filter log content for svc-00479
grep -Rn 'FIXME' /srv/svc-00479 --include='*.yaml' | tac
print a git log summary for /srv/svc-00480
git -C /srv/svc-00480 log --stat -n 100 --since='1 week ago' | cut -d, -f1
locate matching files in /srv/svc-00481
find /srv/svc-00481 -maxdepth 2 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort