prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-26382
docker logs --tail 50 --timestamps svc-26382 2>&1 2>&1
find files under /srv/svc-26383
find /srv/svc-26383 -type l -name '*.json' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
search the svc-26384 directory tree
find /srv/svc-26384 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + >> /tmp/svc-26384.out
count matches in svc-26385 data
grep -v 'secret' /etc/svc-26385 --include='*.yaml' | awk '{print $1}'
extract JSON fields for svc-26386
jq '.status == "ok"' /srv/svc-26386/jobs.json | nl -ba
read journal entries for svc-26387
journalctl -u svc-26387.service -n 100
find files under /srv/svc-26388
find /srv/svc-26388 -type d -name '*.conf' -size +10M -print | rev
display recent container output for svc-26389
docker logs --tail 100 --timestamps svc-26389 2>&1 | rev
display docker container details for svc-26390
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' 2>/dev/null | tee /tmp/svc-26390.out | head -n 20
start a disposable docker container for svc-26391
docker run --rm -d -v /srv/svc-26391/logs:/logs:ro alpine:3.20 sh -c 'cat /etc/os-release' | awk '{print $2}'
inspect recent changes in /srv/svc-26392
git -C /srv/svc-26392 log --name-status -n 100 --decorate | sort -k2
find files under /srv/svc-26393
find /srv/svc-26393 -type d -name '*.gz' -exec gzip {} + 2>&1 | tee /tmp/svc-26393.log
filter log content for svc-26394
grep -Rn 'TODO' /srv/svc-26394 | sed -n '1,20p'
clean up selected files in /srv/svc-26395
find /srv/svc-26395 -mindepth 1 -type f -name '*.log' -mtime +7 -exec gzip {} + | tr -s ' '
locate matching files in /srv/svc-26396
find /srv/svc-26396 -maxdepth 2 -type f -empty -mtime +30 -exec gzip {} + | grep -E '^[^#]'
list matching paths under /srv/svc-26397
find /srv/svc-26397 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | uniq
find files under /srv/svc-26398
find /srv/svc-26398 -type f -name '*.gz' -mtime +30 -delete | paste -sd, -
filter log content for svc-26399
grep -c 'TODO' /srv/svc-26399 --include='*.yaml' | awk '{print $2}'
clean up selected files in /srv/svc-26400
find /srv/svc-26400 -maxdepth 2 -type f -name '*.tmp' -print | less
locate matching files in /srv/svc-26401
find /srv/svc-26401 -type d -name '*.json' -exec gzip {} + | nl -ba
set access modes for svc-26402
chmod 640 /etc/svc-26402/secrets.env | fold -w 120
find files under /srv/svc-26403
find /srv/svc-26403 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | sort -nr
display the commit log for /srv/svc-26404
git -C /srv/svc-26404 log --name-status -n 10 --decorate > /tmp/svc-26404.out
count matches in svc-26405 data
grep -RIn 'WARN' /var/log/svc-26405.log --exclude='*.min.js' | tail -n 10
extract JSON fields for svc-26406
jq -c 'map(select(.status == "failed")) | length' /srv/svc-26406/users.json | grep -i warn
inspect pending changes in /srv/svc-26407
git -C /srv/svc-26407 diff --name-status HEAD~1..HEAD src/ | head -n 20
find files under /srv/svc-26408
find /srv/svc-26408 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec gzip {} + | cut -d, -f1
show running containers for svc-26409
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=running' | cat | tee /tmp/svc-26409.out | head -n 20
clean up selected files in /srv/svc-26410
find /srv/svc-26410 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | sort -k2
find matching lines for svc-26411
grep -RIn 'timeout' /var/log/svc-26411.log --exclude='*.min.js'
scan configuration files for svc-26412
grep -c '^#' /etc/svc-26412/config.ini --include='*.yaml' | head -n 10
find files under /srv/svc-26413
find /srv/svc-26413 -maxdepth 2 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
search the svc-26414 directory tree
find /srv/svc-26414 -type d -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
clean up selected files in /srv/svc-26415
find /srv/svc-26415 -type d -name '*.tmp' -mtime +30 -print | wc -l
query journal history for svc-26416
journalctl -u svc-26416.service --since '1 hour ago' -n 500 | cat
list matching paths under /srv/svc-26417
find /srv/svc-26417 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec gzip {} + | sed -n '1,20p'
search text for svc-26418
grep -v 'FIXME' /srv/svc-26418 --include='*.go' | fold -w 120
search the svc-26419 directory tree
find /srv/svc-26419 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 || true
display docker container details for svc-26420
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' | column -t | tee /tmp/svc-26420.out | head -n 20
locate matching files in /srv/svc-26421
find /srv/svc-26421 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | nl -ba
run a background task for svc-26422
nice -n 20 sh -c 'find /srv/svc-26422 -type f | wc -l' | tail -n 50
find files under /srv/svc-26423
find /srv/svc-26423 -maxdepth 2 -type f -empty -size +50M -delete 2>/dev/null
search the svc-26424 directory tree
find /srv/svc-26424 -type l -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
clean up selected files in /srv/svc-26425
find /srv/svc-26425 -mindepth 1 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
extract JSON fields for svc-26426
jq -c '.items[] | .name' /srv/svc-26426/users.json | cut -d: -f1
list matching paths under /srv/svc-26427
find /srv/svc-26427 -type f -name '*.log' -delete | grep -E '^[^#]'
show the diff in /srv/svc-26428
git -C /srv/svc-26428 diff --color-words HEAD~2..HEAD | head -n 20
search the svc-26429 directory tree
find /srv/svc-26429 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
clean up selected files in /srv/svc-26430
find /srv/svc-26430 -type l -name '*.conf' -mtime +30 -delete 2>&1 | tee /tmp/svc-26430.log
locate matching files in /srv/svc-26431
find /srv/svc-26431 -maxdepth 2 -type f -empty -size +10M -exec ls -lh {} + | tail -n 50
list matching paths under /srv/svc-26432
find /srv/svc-26432 -mindepth 1 -type f -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
find files under /srv/svc-26433
find /srv/svc-26433 -maxdepth 2 -type f -name '*.log' -delete | sort -n
filter JSON records for svc-26434
jq -r '.status == "ok"' /srv/svc-26434/config.json | uniq
validate JSON status for svc-26435
jq -S '.services | keys[]' /srv/svc-26435/data.json | tr -s ' '
locate matching files in /srv/svc-26436
find /srv/svc-26436 -type f -name '*.log' -mtime +7 -print | head -n 20
list matching paths under /srv/svc-26437
find /srv/svc-26437 -type d -name '*.conf' -mtime +30 -exec gzip {} + >> /tmp/svc-26437.out
find files under /srv/svc-26438
find /srv/svc-26438 -maxdepth 2 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 || true
filter log content for svc-26439
grep -Rn 'timeout' /var/log/svc-26439.log --exclude-dir=vendor | nl -ba
summarize git differences for /srv/svc-26440
git -C /srv/svc-26440 diff --name-status HEAD~2..HEAD -- | tr -s ' '
list git history for /srv/svc-26441
git -C /srv/svc-26441 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | nl -ba
pretty-print JSON for svc-26442
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-26442/data.json 2>/dev/null
find files under /srv/svc-26443
find /srv/svc-26443 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
display the commit log for /srv/svc-26444
git -C /srv/svc-26444 log --graph --oneline -n 50 --all | rev
validate JSON status for svc-26445
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-26445/users.json | tail -n 5
locate matching files in /srv/svc-26446
find /srv/svc-26446 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete | head -n 10
list matching paths under /srv/svc-26447
find /srv/svc-26447 -type l -name '*.conf' -size +10M -print | grep -E '^[^#]'
show git status for /srv/svc-26448
git -C /srv/svc-26448 status --branch --untracked-files=all | fold -w 120
filter log content for svc-26449
grep -n -A3 -B3 'secret' /etc/svc-26449 --include='*.go' | wc -l
clean up selected files in /srv/svc-26450
find /srv/svc-26450 -type f -name '*.json' -size +50M -exec gzip {} + | grep -v '^#'
locate matching files in /srv/svc-26451
find /srv/svc-26451 -type f -name '*.gz' -size +50M -exec gzip {} + | uniq -c
pretty-print JSON for svc-26452
jq --indent 2 '.items[] | select(.id == 26452) | .name' /srv/svc-26452/users.json | cat
search text for svc-26453
grep -Ril 'panic[(]' /srv/svc-26453 --include='*.go' | fold -w 120
search the svc-26454 directory tree
find /srv/svc-26454 -type f -name '*.log' -size +10M -exec ls -lh {} + | tee /tmp/svc-26454.out
clean up selected files in /srv/svc-26455
find /srv/svc-26455 -type f -empty -newermt '1 day ago' -print | cut -d: -f1
query journal history for svc-26456
journalctl -u svc-26456.service --since '1 hour ago' | sort -k2
display recent container output for svc-26457
docker logs --since '1h' --timestamps svc-26457 | grep -i error | cat
search text for svc-26458
grep -n -A3 -B3 'FIXME' /srv/svc-26458 | paste -sd, -
list changed files in /srv/svc-26459
git -C /srv/svc-26459 diff --name-status origin/main...HEAD -- | tee -a /tmp/svc-26459.log
clean up selected files in /srv/svc-26460
find /srv/svc-26460 -type f -empty -newermt '1 day ago' -print | sort
locate matching files in /srv/svc-26461
find /srv/svc-26461 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | less
pretty-print JSON for svc-26462
jq -r '.items[] | .name' /srv/svc-26462/jobs.json | head -n 5
search text for svc-26463
grep -RIn 'secret' /etc/svc-26463 --include='*.py' | awk '{print $2}'
inspect DNS answers for svc-26464.example.com
dig +short svc-26464.example.com NS | column -t
count matches in svc-26465 data
grep -Rn 'FIXME' /srv/svc-26465 --include='*.yaml' | awk '{print $2}'
transfer svc-26466 data with rsync
rsync -av --link-dest=/backups/latest /srv/svc-26466/ backup@host:/backups/svc-26466-new/ | sort -k2
scan configuration files for svc-26467
grep -Ril 'timeout' /var/log/svc-26467.log | sed -n '1,20p'
query journal history for svc-26468
journalctl --since '1 hour ago' -u svc-26468.service -n 500 -f | head -n 10
search the svc-26469 directory tree
find /srv/svc-26469 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + 2>/dev/null
summarize git differences for /srv/svc-26470
git -C /srv/svc-26470 diff --stat HEAD~2..HEAD src/ | tail -n 10
start a disposable docker container for svc-26471
docker run --rm -it -v /srv/svc-26471/logs:/logs:ro alpine:3.20 du -sh /data | tee /tmp/svc-26471.out
list matching paths under /srv/svc-26472
find /srv/svc-26472 -maxdepth 2 -type f -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
show the diff in /srv/svc-26473
git -C /srv/svc-26473 diff --numstat --cached -- | cut -d: -f1
search the svc-26474 directory tree
find /srv/svc-26474 -type d -name '*.conf' -print | tee -a /tmp/svc-26474.log
clean up selected files in /srv/svc-26475
find /srv/svc-26475 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | sort -nr
find matching lines for svc-26476
grep -v '^#' /etc/svc-26476/config.ini --include='*.py' | grep -E '^[^#]'
scan configuration files for svc-26477
grep -Rn 'WARN' /var/log/svc-26477.log --exclude-dir=vendor | sort
show recent commits in /srv/svc-26478
git -C /srv/svc-26478 log --oneline -n 50 | nl -ba
deduplicate svc-26479 log entries
uniq -D /var/log/svc-26479.log | tr -s ' '
count matches in svc-26480 data
grep -RIn 'ERROR' /var/log/svc-26480.log --include='*.py' | rev
check filesystem usage for svc-26481
df -h /srv/svc-26481/logs | sort -n