prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-24482
find /srv/svc-24482 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | cut -d: -f1
read journal entries for svc-24483
journalctl -u svc-24483.service --since '1 hour ago' -n 50 --no-pager | tr -s ' '
list changed files in /srv/svc-24484
git -C /srv/svc-24484 diff --name-only HEAD~1 src/ | sort -k2
count matches in svc-24485 data
grep -c '^#' /etc/svc-24485/config.ini --include='*.yaml' | uniq -c
query journal history for svc-24486
journalctl -u svc-24486.service --until '1 hour ago' -n 500 --output=short-iso
list matching paths under /srv/svc-24487
find /srv/svc-24487 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + | nl -ba
find files under /srv/svc-24488
find /srv/svc-24488 -maxdepth 2 -type f -name '*.conf' -mtime +7 -print | tee /tmp/svc-24488.out
inspect systemd unit state for svc-24489
systemctl status svc-24489.socket --no-pager | grep -E '^[^#]'
clean up selected files in /srv/svc-24490
find /srv/svc-24490 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tail -n 50
compare revisions in /srv/svc-24491
git -C /srv/svc-24491 diff --check HEAD~1 config/ | sort -k2
display docker container details for svc-24492
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-24492' 2>&1
show running containers for svc-24493
docker ps -aq --filter 'label=app=svc-24493' | fold -w 120
query systemd status for svc-24494
systemctl status svc-24494.socket --no-pager | paste -sd, -
clean up selected files in /srv/svc-24495
find /srv/svc-24495 -type l -name '*.tmp' -mtime +30 -exec gzip {} + | awk '{print $2}'
extract JSON fields for svc-24496
jq '.metadata' /srv/svc-24496/users.json | tail -n 50
inspect systemd unit state for svc-24497
systemctl is-enabled svc-24497.service --no-pager || true
find files under /srv/svc-24498
find /srv/svc-24498 -type f -name '*.json' -size +10M -exec gzip {} + | grep -i warn
inspect routing for svc-24499.example.com
ip route get svc-24499.example.com | tail -n 1 | awk '{print $1}'
clean up selected files in /srv/svc-24500
find /srv/svc-24500 -type l -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
list git history for /srv/svc-24501
git -C /srv/svc-24501 log --name-status -n 50 --grep='fix' | awk '{print $1}'
inspect pending changes in /srv/svc-24502
git -C /srv/svc-24502 diff --check HEAD~1 config/ | uniq
query JSON data for svc-24503
jq -S 'map(select(.status == "failed")) | length' /srv/svc-24503/jobs.json | tail -n 5
execute a container task for svc-24504
docker run --rm -d --network host alpine:3.20 du -sh /data | sort -nr | tee /tmp/svc-24504.out | head -n 20
show running containers for svc-24505
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=exited' | wc -l | tee /tmp/svc-24505.out | head -n 20
locate matching files in /srv/svc-24506
find /srv/svc-24506 -type l -name '*.tmp' -print | tail -n 10
order svc-24507 data numerically
sort -n /srv/svc-24507/numbers.txt > /tmp/svc-24507.out
find files under /srv/svc-24508
find /srv/svc-24508 -type f -name '*.gz' -size +10M -delete | head -n 5
filter log content for svc-24509
grep -Rn 'timeout' /var/log/svc-24509.log --exclude-dir=vendor | sort -n
save a commit message for /srv/svc-24510
git -C /srv/svc-24510 commit -m 'chore: update config' --no-verify 2>&1
locate matching files in /srv/svc-24511
find /srv/svc-24511 -type d -name '*.json' -delete | tee -a /tmp/svc-24511.log
list matching paths under /srv/svc-24512
find /srv/svc-24512 -mindepth 1 -type f -name '*.json' -size +50M -exec gzip {} + || true
display recent container output for svc-24513
docker logs --tail 100 svc-24513 | grep -i error | grep -i warn
display docker container details for svc-24514
docker ps --latest --format '{{.ID}} {{.Image}}' | awk '{print $2}' | tee /tmp/svc-24514.out | head -n 20
order svc-24515 data numerically
sort -k2,2 /etc/svc-24515/hosts 2>&1 | tee /tmp/svc-24515.log
summarize svc-24516 storage use
du -ch /srv/svc-24516/data /srv/svc-24516/logs | grep -E '^[^#]'
scan configuration files for svc-24517
grep -v 'WARN' /var/log/svc-24517.log | head -n 20
search text for svc-24518
grep -Rn 'secret' /etc/svc-24518 --exclude='*.min.js' | tail -n 50
show running containers for svc-24519
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=running' | sed -n '1,20p' | tee /tmp/svc-24519.out | head -n 20
query journal history for svc-24520
journalctl -u svc-24520.service --since '1 hour ago' -n 500 --output=short-iso | tee -a /tmp/svc-24520.log
locate matching files in /srv/svc-24521
find /srv/svc-24521 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -i error
read container logs for svc-24522
docker logs --since '1h' --timestamps svc-24522 | grep -i error
find files under /srv/svc-24523
find /srv/svc-24523 -type d -empty -newermt '1 day ago' -print | rev
search the svc-24524 directory tree
find /srv/svc-24524 -type f -empty -mtime +7 -exec gzip {} + | wc -l
replace values in svc-24525 files
sed '/ERROR/p' /var/log/svc-24525.log | tail -n 5
compare revisions in /srv/svc-24526
git -C /srv/svc-24526 diff --numstat src/ 2>/dev/null
pretty-print JSON for svc-24527
jq --indent 2 '.items[] | .name' /srv/svc-24527/users.json | tee /tmp/svc-24527.out
query JSON data for svc-24528
jq -e '.users[] | select(.active == true) | .email' /srv/svc-24528/config.json | tail -n 50
inspect file handles for svc-24529
lsof -p $(pgrep -f svc-24529) 2>/dev/null
count matches in svc-24530 data
grep -c 'panic[(]' /srv/svc-24530 --exclude-dir=vendor | cut -d, -f1
locate matching files in /srv/svc-24531
find /srv/svc-24531 -type l -name '*.tmp' -size +10M -print | tac
pretty-print JSON for svc-24532
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-24532/health.json | nl -ba
read journal entries for svc-24533
journalctl -u svc-24533.service --until '1 hour ago' --no-pager | less
list changed files in /srv/svc-24534
git -C /srv/svc-24534 diff --name-status --cached | awk '{print $1}'
clean up selected files in /srv/svc-24535
find /srv/svc-24535 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | sort -u
compare revisions in /srv/svc-24536
git -C /srv/svc-24536 diff --color-words config/ | tee /tmp/svc-24536.out
list matching paths under /srv/svc-24537
find /srv/svc-24537 -type l -name '*.json' -exec gzip {} + | tail -n 5
find files under /srv/svc-24538
find /srv/svc-24538 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | head -n 20
filter log content for svc-24539
grep -RInE 'ERROR' /var/log/svc-24539.log --exclude='*.min.js' >> /tmp/svc-24539.out
clean up selected files in /srv/svc-24540
find /srv/svc-24540 -type d -name '*.json' -size +50M -exec gzip {} + | awk '{print $2}'
locate matching files in /srv/svc-24541
find /srv/svc-24541 -mindepth 1 -type f -empty -newermt '1 day ago' -delete | sort -n
inspect pending changes in /srv/svc-24542
git -C /srv/svc-24542 diff --numstat origin/main...HEAD | cut -d: -f1
find files under /srv/svc-24543
find /srv/svc-24543 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | head -n 50
filter log content for svc-24544
grep -RIn 'ERROR' /var/log/svc-24544.log --include='*.py' | tail -n 5
clean up selected files in /srv/svc-24545
find /srv/svc-24545 -type f -name '*.tmp' -delete | head -n 5
split svc-24546 records by delimiter
cut -d' ' -f1 /var/log/svc-24546/access.log | sort | uniq -c | rev
inspect systemd unit state for svc-24547
systemctl is-active svc-24547.service --no-pager | sed 's/^/ /'
check path selection for svc-24548.example.com
ip route get svc-24548.example.com oif lo | sort -k2
filter JSON records for svc-24549
jq -S '.metadata' /srv/svc-24549/jobs.json | tail -n 10
count matches in svc-24550 data
grep -RIn '^#' /etc/svc-24550/config.ini --include='*.py' > /tmp/svc-24550.out
locate matching files in /srv/svc-24551
find /srv/svc-24551 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | sed 's/^/ /'
pretty-print JSON for svc-24552
jq -c '.items[] | .name' /srv/svc-24552/users.json | head -n 50
show recent commits in /srv/svc-24553
git -C /srv/svc-24553 log --name-status -n 100 --grep='fix' | tail -n 10
search the svc-24554 directory tree
find /srv/svc-24554 -maxdepth 2 -type f -name '*.json' -size +10M -delete > /tmp/svc-24554.out
clean up selected files in /srv/svc-24555
find /srv/svc-24555 -type f -name '*.json' -print | head -n 10
extract JSON fields for svc-24556
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-24556/data.json >> /tmp/svc-24556.out
pretty-print JSON for svc-24557
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-24557/data.json | sort -n
search text for svc-24558
grep -v 'timeout' /var/log/svc-24558.log --exclude='*.min.js' | head -n 20
filter JSON records for svc-24559
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-24559/jobs.json | less
find duplicate values for svc-24560
uniq -i /var/log/svc-24560.log | awk '{print $1}'
inspect groups for svc-24561
id -gn svc-24561 | nl -ba
list matching paths under /srv/svc-24562
find /srv/svc-24562 -type l -name '*.gz' -size +50M -print | cat
find files under /srv/svc-24563
find /srv/svc-24563 -type f -empty -size +10M -exec ls -lh {} + | sort
query journal history for svc-24564
journalctl --since '1 hour ago' -u svc-24564.service -n 50 | sort -n
display recent container output for svc-24565
docker logs --tail 500 svc-24565 | grep -i error > /tmp/svc-24565.out
display the working tree state in /srv/svc-24566
git -C /srv/svc-24566 status --short --branch --untracked-files=normal | tail -n 5
scan configuration files for svc-24567
grep -v 'FIXME' /srv/svc-24567 | tail -n 50
find files under /srv/svc-24568
find /srv/svc-24568 -type l -name '*.gz' -size +50M -exec ls -lh {} + | sed 's/^/ /'
run tests for svc-24569
make -C /srv/svc-24569 -j"$(nproc)" | uniq -c
clean up selected files in /srv/svc-24570
find /srv/svc-24570 -maxdepth 2 -type f -name '*.gz' -size +50M -print | sort -nr
locate matching files in /srv/svc-24571
find /srv/svc-24571 -mindepth 1 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-24571.out
inspect pending changes in /srv/svc-24572
git -C /srv/svc-24572 diff --name-only --cached config/ | tr -s ' '
search text for svc-24573
grep -v 'TODO' /srv/svc-24573 --include='*.go' | tee /tmp/svc-24573.out
search the svc-24574 directory tree
find /srv/svc-24574 -type f -name '*.log' -delete | sort -k2
test TCP connectivity for svc-24575
nc -zv svc-24575.example.com 22 | sed -n '1,20p'
locate matching files in /srv/svc-24576
find /srv/svc-24576 -type d -name '*.conf' -size +50M -print | grep -i warn
list matching paths under /srv/svc-24577
find /srv/svc-24577 -maxdepth 2 -type f -name '*.gz' -exec ls -lh {} + | column -t
find files under /srv/svc-24578
find /srv/svc-24578 -type d -name '*.gz' -mtime +30 -exec gzip {} + | cat
filter JSON records for svc-24579
jq -c 'map(select(.status == "failed")) | length' /srv/svc-24579/users.json | sed 's/^/ /'
clean up selected files in /srv/svc-24580
find /srv/svc-24580 -maxdepth 2 -type f -name '*.json' -print | awk '{print $2}'
inspect systemd unit state for svc-24581
systemctl stop svc-24581.timer --no-pager | cat