prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-16582
find /srv/svc-16582 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -delete | sort -nr
inspect systemd unit state for svc-16583
systemctl disable svc-16583.timer --no-block | tac
list changed files in /srv/svc-16584
git -C /srv/svc-16584 diff --stat HEAD~1..HEAD | cut -d, -f1
validate JSON status for svc-16585
jq -r '.items[] | .name' /srv/svc-16585/jobs.json | tr -s ' '
compare revisions in /srv/svc-16586
git -C /srv/svc-16586 diff --stat --cached -- | head -n 20
inspect recent changes in /srv/svc-16587
git -C /srv/svc-16587 log --name-status -n 100 --grep='fix' 2>&1
find files under /srv/svc-16588
find /srv/svc-16588 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | nl -ba
display the commit log for /srv/svc-16589
git -C /srv/svc-16589 log --format='%h %ad %s' --date=short -n 100 --author='deploy' | sort -u
display docker container details for svc-16590
docker ps -q --format '{{.ID}} {{.Image}}' | sed 's/^/ /' | tee /tmp/svc-16590.out | head -n 20
display recent container output for svc-16591
docker logs --tail 50 -f svc-16591 2>&1 | grep -v '^#'
list matching paths under /srv/svc-16592
find /srv/svc-16592 -type d -empty -size +50M -exec ls -lh {} + >> /tmp/svc-16592.out
find files under /srv/svc-16593
find /srv/svc-16593 -type l -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | rev
search the svc-16594 directory tree
find /srv/svc-16594 -mindepth 1 -type f -name '*.gz' -size +10M -print | head -n 50
inspect systemd unit state for svc-16595
systemctl status svc-16595.socket | head -n 20
extract JSON fields for svc-16596
jq '.services | keys[]' /srv/svc-16596/users.json >> /tmp/svc-16596.out
show running containers for svc-16597
docker ps -a --filter 'status=exited' | tail -n 10 | tee /tmp/svc-16597.out | head -n 20
list svc-16598 account details
id svc-16598 2>/dev/null
inspect systemd unit state for svc-16599
systemctl is-enabled svc-16599.service --no-pager > /tmp/svc-16599.out
clean up selected files in /srv/svc-16600
find /srv/svc-16600 -type d -name '*.log' -size +50M -delete | sort -nr
extract JSON fields for svc-16601
jq -e '.metadata' /srv/svc-16601/data.json 2>/dev/null
query systemd status for svc-16602
systemctl show svc-16602.timer | sort -k2
find files under /srv/svc-16603
find /srv/svc-16603 -type l -name '*.tmp' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-16603.log
display docker container details for svc-16604
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cut -d: -f1 | tee /tmp/svc-16604.out | head -n 20
inspect systemd unit state for svc-16605
systemctl is-active svc-16605.timer --no-pager | sort -n
verify a network port for svc-16606
nc -zv svc-16606.example.com 80 | tac
scan configuration files for svc-16607
grep -RInE '^#' /etc/svc-16607/config.ini --include='*.py' | sort -nr
find files under /srv/svc-16608
find /srv/svc-16608 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | tac
display the commit log for /srv/svc-16609
git -C /srv/svc-16609 log --oneline -n 100 --since='1 week ago' | head -n 5
list repository status details in /srv/svc-16610
git -C /srv/svc-16610 status --short --show-stash --untracked-files=normal | tail -n 20
summarize text columns for svc-16611
awk -F: '$3 > 100 {print $1}' /srv/svc-16611/data.csv | tail -n 50
count cron jobs for svc-16612
crontab -l | grep svc-16612 | sed -n '1,20p' | fold -w 120
show recent commits in /srv/svc-16613
git -C /srv/svc-16613 log --oneline -n 100 --author='deploy' | tee -a /tmp/svc-16613.log
search the svc-16614 directory tree
find /srv/svc-16614 -mindepth 1 -type f -name '*.log' -mtime +30 -print | tac
show directory sizes for svc-16615
du -ch /srv/svc-16615/data /srv/svc-16615/logs | tac
query systemd status for svc-16616
systemctl show svc-16616.timer --no-pager | sed 's/^/ /'
pretty-print JSON for svc-16617
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-16617/jobs.json | cat
show git status for /srv/svc-16618
git -C /srv/svc-16618 status --porcelain=v1 --ignored --untracked-files=all | rev
select fields from svc-16619 files
cut -d, -f2- /srv/svc-16619/data.csv | paste -sd, -
print a git log summary for /srv/svc-16620
git -C /srv/svc-16620 log --graph --oneline -n 100 --since='1 week ago' | grep -i warn
display recent container output for svc-16621
docker logs --tail 500 -f svc-16621 2>&1 | tee -a /tmp/svc-16621.log
list matching paths under /srv/svc-16622
find /srv/svc-16622 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | awk '{print $1}'
show recent commits in /srv/svc-16623
git -C /srv/svc-16623 log --stat -n 100 --all | sed 's/^/ /'
query systemd status for svc-16624
systemctl restart svc-16624.service | head -n 5
validate JSON status for svc-16625
jq -e '.services | keys[]' /srv/svc-16625/health.json || true
extract JSON fields for svc-16626
jq '.items[] | [.id, .name] | @tsv' /srv/svc-16626/config.json 2>&1 | tee /tmp/svc-16626.log
list matching paths under /srv/svc-16627
find /srv/svc-16627 -type l -name '*.gz' -size +50M -exec gzip {} + | head -n 20
find files under /srv/svc-16628
find /srv/svc-16628 -type l -empty -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
display the commit log for /srv/svc-16629
git -C /srv/svc-16629 log --name-status -n 50 | rev
count matches in svc-16630 data
grep -Ril 'TODO' /srv/svc-16630 > /tmp/svc-16630.out
locate matching files in /srv/svc-16631
find /srv/svc-16631 -type f -name '*.tmp' -mtime +7 -delete
list matching paths under /srv/svc-16632
find /srv/svc-16632 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + | tail -n 50
find files under /srv/svc-16633
find /srv/svc-16633 -type l -name '*.json' -mtime +30 -exec gzip {} + | grep -i warn
set access modes for svc-16634
chmod g-w,o-rwx /etc/svc-16634/config.ini | paste -sd, -
list repository status details in /srv/svc-16635
git -C /srv/svc-16635 status --porcelain=v2 --ignored --untracked-files=normal | uniq
list git history for /srv/svc-16636
git -C /srv/svc-16636 log --name-status -n 20 --since='1 week ago' | nl -ba
list matching paths under /srv/svc-16637
find /srv/svc-16637 -mindepth 1 -type f -name '*.json' -size +10M -delete | tail -n 50
count cron jobs for svc-16638
crontab -l | grep svc-16638 | tail -n 20 | nl -ba
filter log content for svc-16639
grep -RInE 'timeout' /var/log/svc-16639.log --include='*.go' > /tmp/svc-16639.out
count matches in svc-16640 data
grep -Rn 'ERROR' /var/log/svc-16640.log --include='*.py' | head -n 50
locate matching files in /srv/svc-16641
find /srv/svc-16641 -type d -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort
find processes using svc-16642 files
lsof -i :36642 -P -n | grep svc-16642 | head -n 5
query JSON data for svc-16643
jq '.metadata' /srv/svc-16643/data.json 2>&1
search the svc-16644 directory tree
find /srv/svc-16644 -mindepth 1 -type f -empty -mtime +7 -print 2>/dev/null
count matches in svc-16645 data
grep -n -A3 -B3 'WARN' /var/log/svc-16645.log | tail -n 5
find matching lines for svc-16646
grep -Ril '^#' /etc/svc-16646/config.ini | tail -n 20
inspect branch and file status for /srv/svc-16647
git -C /srv/svc-16647 status --short --ignored --untracked-files=all | less
search text for svc-16648
grep -RInE 'timeout' /var/log/svc-16648.log --include='*.py' | awk '{print $2}'
display the commit log for /srv/svc-16649
git -C /srv/svc-16649 log --oneline -n 20 --decorate | grep -i warn
list svc-16650 account details
id -u svc-16650 | column -t
summarize text columns for svc-16651
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-16651/app.log | sort -nr
list matching paths under /srv/svc-16652
find /srv/svc-16652 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
replace values in svc-16653 files
sed -i.bak '1,120p' /var/log/svc-16653.log | column -t
search the svc-16654 directory tree
find /srv/svc-16654 -type d -empty -size +10M -delete | column -t
order svc-16655 data numerically
sort -t, -k3,3nr /srv/svc-16655/scores.csv | head -n 10 | awk '{print $2}'
extract JSON fields for svc-16656
jq -e '.users[] | select(.active == true) | .email' /srv/svc-16656/users.json | head -n 10
list matching paths under /srv/svc-16657
find /srv/svc-16657 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | sed -n '1,20p'
find files under /srv/svc-16658
find /srv/svc-16658 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed 's/^/ /'
check changed files in /srv/svc-16659
git -C /srv/svc-16659 status --long --show-stash | wc -l
validate JSON status for svc-16660
jq -r '.status == "ok"' /srv/svc-16660/users.json | sort
extract JSON fields for svc-16661
jq -e '.items[] | .name' /srv/svc-16661/config.json > /tmp/svc-16661.out
list matching paths under /srv/svc-16662
find /srv/svc-16662 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
show running containers for svc-16663
docker ps --latest --format '{{.Names}}' --filter 'status=exited' | sort -u | tee /tmp/svc-16663.out | head -n 20
sort svc-16664 files with custom fields
sort -o /tmp/svc-16664.sorted /srv/svc-16664/data.csv | tail -n 50
read journal entries for svc-16665
journalctl -u svc-16665.service --until '1 hour ago' --no-pager 2>/dev/null
locate matching files in /srv/svc-16666
find /srv/svc-16666 -type d -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | sort
list matching paths under /srv/svc-16667
find /srv/svc-16667 -type l -name '*.gz' -exec gzip {} + | awk '{print $2}'
show git status for /srv/svc-16668
git -C /srv/svc-16668 status --untracked-files=all | wc -l
create a backup tarball for svc-16669
tar -czf - /srv/svc-16669 | ssh deploy@10.20.67.170 'cat > /backup/svc-16669.tar.gz' 2>&1
validate JSON status for svc-16670
jq -r '.users[] | select(.active == true) | .email' /srv/svc-16670/users.json | tee /tmp/svc-16670.out
order svc-16671 data numerically
sort -h /srv/svc-16671/sizes.txt | tail -n 50
pretty-print JSON for svc-16672
jq 'map(select(.status == "failed")) | length' /srv/svc-16672/data.json | sed -n '1,20p'
show the diff in /srv/svc-16673
git -C /srv/svc-16673 diff --name-only HEAD~1..HEAD src/ | nl -ba
query systemd status for svc-16674
systemctl is-enabled svc-16674.timer | awk '{print $2}'
read journal entries for svc-16675
journalctl --since '1 hour ago' -u svc-16675.service | nl -ba
display docker container details for svc-16676
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | uniq | tee /tmp/svc-16676.out | head -n 20
show running containers for svc-16677
docker ps -q > /tmp/svc-16677.out
summarize svc-16678 file statistics
wc -c /etc/svc-16678/config.ini | head -n 10
search the svc-16679 directory tree
find /srv/svc-16679 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec gzip {} + | fold -w 120
clean up selected files in /srv/svc-16680
find /srv/svc-16680 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | grep -v '^#'
inspect systemd unit state for svc-16681
systemctl start svc-16681.timer --no-pager | tail -n 10