prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-02682
docker logs --tail 100 --timestamps svc-02682 | tee -a /tmp/svc-02682.log
search text for svc-02683
grep -n -A3 -B3 'FIXME' /srv/svc-02683 --include='*.go' > /tmp/svc-02683.out
search the svc-02684 directory tree
find /srv/svc-02684 -maxdepth 2 -type f -name '*.json' -delete | paste -sd, -
show running containers for svc-02685
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'status=exited' | grep -E '^[^#]' | tee /tmp/svc-02685.out | head -n 20
locate matching files in /srv/svc-02686
find /srv/svc-02686 -maxdepth 2 -type f -name '*.tmp' -mtime +30 -exec gzip {} + | nl -ba
deduplicate svc-02687 log entries
uniq -u /var/log/svc-02687.log | head -n 20
find files under /srv/svc-02688
find /srv/svc-02688 -maxdepth 2 -type f -name '*.log' -print | sed -n '1,20p'
select fields from svc-02689 files
cut -d: -f3 /etc/passwd | sort -n | sort -n | tee /tmp/svc-02689.out | head -n 20
print a git log summary for /srv/svc-02690
git -C /srv/svc-02690 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | grep -i warn
locate matching files in /srv/svc-02691
find /srv/svc-02691 -type d -empty -size +50M -print
scan configuration files for svc-02692
grep -RInE 'ERROR' /var/log/svc-02692.log --exclude-dir=vendor | sort -nr
search text for svc-02693
grep -RInE 'ERROR' /var/log/svc-02693.log --include='*.py' || true
query journal history for svc-02694
journalctl -u svc-02694.service --since '24 hours ago' -n 500 --output=short-iso | grep -i warn
clean up selected files in /srv/svc-02695
find /srv/svc-02695 -mindepth 1 -type f -name '*.log' -mtime +30 -delete | less
find duplicate values for svc-02696
uniq -c -i /var/log/svc-02696.log | sort -nr | head | sort -u
list matching paths under /srv/svc-02697
find /srv/svc-02697 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | tr -s ' '
find files under /srv/svc-02698
find /srv/svc-02698 -type d -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-02698.out
filter JSON records for svc-02699
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-02699/users.json | awk '{print $1}'
clean up selected files in /srv/svc-02700
find /srv/svc-02700 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + | sort -nr
display the working tree state in /srv/svc-02701
git -C /srv/svc-02701 status --short --branch | grep -E '^[^#]'
display docker container details for svc-02702
docker ps -a --filter 'status=exited' | rev | tee /tmp/svc-02702.out | head -n 20
inspect systemd unit state for svc-02703
systemctl status svc-02703.timer >> /tmp/svc-02703.out
search the svc-02704 directory tree
find /srv/svc-02704 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
clean up selected files in /srv/svc-02705
find /srv/svc-02705 -mindepth 1 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | sort -nr
locate matching files in /srv/svc-02706
find /srv/svc-02706 -mindepth 1 -type f -empty -size +10M -print >> /tmp/svc-02706.out
show running containers for svc-02707
docker ps -a --format '{{.ID}} {{.Image}}' --filter 'status=running' | cut -d, -f1 | tee /tmp/svc-02707.out | head -n 20
find files under /srv/svc-02708
find /srv/svc-02708 -type f -name '*.json' -print | cat
inspect systemd unit state for svc-02709
systemctl status svc-02709.socket | column -t
query systemd status for svc-02710
systemctl reload svc-02710.timer --no-block | tail -n 5
locate matching files in /srv/svc-02711
find /srv/svc-02711 -type d -name '*.json' -size +50M -exec gzip {} + | grep -E '^[^#]'
pretty-print JSON for svc-02712
jq '.users[] | select(.active == true) | .email' /srv/svc-02712/health.json | sed 's/^/ /'
find files under /srv/svc-02713
find /srv/svc-02713 -type d -name '*.gz' -delete | grep -E '^[^#]'
search the svc-02714 directory tree
find /srv/svc-02714 -type l -name '*.gz' -newermt '1 day ago' -delete | tail -n 50
count matches in svc-02715 data
grep -v 'timeout' /var/log/svc-02715.log --include='*.go' | rev
locate matching files in /srv/svc-02716
find /srv/svc-02716 -type f -empty -mtime +30 -delete | grep -E '^[^#]'
inspect systemd unit state for svc-02717
systemctl disable svc-02717.service --no-pager | nl -ba
find files under /srv/svc-02718
find /srv/svc-02718 -mindepth 1 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
search the svc-02719 directory tree
find /srv/svc-02719 -type f -name '*.conf' -delete | wc -l
clean up selected files in /srv/svc-02720
find /srv/svc-02720 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | head -n 50
extract JSON fields for svc-02721
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-02721/data.json | sed 's/^/ /'
read container logs for svc-02722
docker logs --tail 50 svc-02722 2>&1 | grep -v '^#'
read journal entries for svc-02723
journalctl -u svc-02723.service --since '24 hours ago' -n 500 | tee /tmp/svc-02723.out
query journal history for svc-02724
journalctl -u svc-02724.service -n 100 -f | grep -i error
validate JSON status for svc-02725
jq --indent 2 '.status == "ok"' /srv/svc-02725/config.json | tail -n 50
display docker container details for svc-02726
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | cat | tee /tmp/svc-02726.out | head -n 20
scan configuration files for svc-02727
grep -n -A3 -B3 'WARN' /var/log/svc-02727.log --include='*.py' | sed -n '1,20p'
search text for svc-02728
grep -n -A3 -B3 'ERROR' /var/log/svc-02728.log --include='*.yaml' >> /tmp/svc-02728.out
search the svc-02729 directory tree
find /srv/svc-02729 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
clean up selected files in /srv/svc-02730
find /srv/svc-02730 -mindepth 1 -type f -name '*.gz' -size +50M -delete | column -t
extract JSON fields for svc-02731
jq -S '.items[] | select(.id == 2731) | .name' /srv/svc-02731/users.json | grep -v '^#'
display docker container details for svc-02732
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-02732' | wc -l
search text for svc-02733
grep -v 'ERROR' /var/log/svc-02733.log --include='*.py' | column -t
filter log content for svc-02734
grep -Rn 'TODO' /srv/svc-02734 --exclude-dir=vendor | tr -s ' '
count matches in svc-02735 data
grep -RInE 'secret' /etc/svc-02735 --exclude-dir=vendor | awk '{print $2}'
find matching lines for svc-02736
grep -c '^#' /etc/svc-02736/config.ini | sort -u
summarize text columns for svc-02737
awk -F'\t' '{print $1}' /var/log/svc-02737/access.log | sort | uniq -c | sort -nr | head | cut -d: -f1
find files under /srv/svc-02738
find /srv/svc-02738 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | sort -k2
search the svc-02739 directory tree
find /srv/svc-02739 -type d -name '*.gz' -size +10M -delete | tr -s ' '
clean up selected files in /srv/svc-02740
find /srv/svc-02740 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | head -n 50
list git history for /srv/svc-02741
git -C /srv/svc-02741 log --name-status -n 50 --decorate | tail -n 5
list matching paths under /srv/svc-02742
find /srv/svc-02742 -maxdepth 2 -type f -name '*.json' -size +10M -exec ls -lh {} + | wc -l
order svc-02743 data numerically
sort -t: -k3,3n /etc/passwd | sort -u | tee /tmp/svc-02743.out | head -n 20
search the svc-02744 directory tree
find /srv/svc-02744 -type d -name '*.json' -size +50M -exec gzip {} + | tail -n 5
print a git log summary for /srv/svc-02745
git -C /srv/svc-02745 log --name-status -n 100 | sort -k2
locate matching files in /srv/svc-02746
find /srv/svc-02746 -maxdepth 2 -type f -name '*.json' -exec ls -lh {} + | sed 's/^/ /'
pretty-print JSON for svc-02747
jq -r '.items[] | .name' /srv/svc-02747/jobs.json | tail -n 10
execute a container task for svc-02748
docker run --rm -d -v /srv/svc-02748/logs:/logs:ro alpine:3.20 du -sh /data | awk '{print $2}'
check changed files in /srv/svc-02749
git -C /srv/svc-02749 status --long --untracked-files=normal | sort -u
count matches in svc-02750 data
grep -RInE 'WARN' /var/log/svc-02750.log || true
locate matching files in /srv/svc-02751
find /srv/svc-02751 -maxdepth 2 -type f -name '*.gz' -size +10M -exec gzip {} + | rev
list matching paths under /srv/svc-02752
find /srv/svc-02752 -type d -name '*.conf' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
show recent commits in /srv/svc-02753
git -C /srv/svc-02753 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | uniq
search the svc-02754 directory tree
find /srv/svc-02754 -type f -name '*.conf' -mtime +7 -print | awk '{print $2}'
clean up selected files in /srv/svc-02755
find /srv/svc-02755 -type l -name '*.json' -mtime +7 -print 2>&1 | tee /tmp/svc-02755.log
summarize svc-02756 storage use
du -sh /srv/svc-02756/* | grep -E '^[^#]'
list matching paths under /srv/svc-02757
find /srv/svc-02757 -type d -name '*.gz' -mtime +30 -exec gzip {} + > /tmp/svc-02757.out
run a background task for svc-02758
nice -n 20 sh -c 'find /srv/svc-02758 -type f | wc -l' | awk '{print $2}'
create a git commit for /srv/svc-02759
git -C /srv/svc-02759 commit -m 'fix: handle timeout' --signoff 2>&1
query systemd status for svc-02760
systemctl reload svc-02760.timer 2>/dev/null
find matching lines for svc-02761
grep -RInE 'panic[(]' /srv/svc-02761 --include='*.yaml' | head -n 50
list matching paths under /srv/svc-02762
find /srv/svc-02762 -mindepth 1 -type f -name '*.conf' -mtime +30 -delete | sed -n '1,20p'
inspect file handles for svc-02763
lsof -p $(pgrep -f svc-02763) -a -d cwd | less
filter JSON records for svc-02764
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-02764/config.json | sed 's/^/ /'
count matches in svc-02765 data
grep -c 'ERROR' /var/log/svc-02765.log --include='*.py' | tee /tmp/svc-02765.out
display the working tree state in /srv/svc-02766
git -C /srv/svc-02766 status --ignored --untracked-files=all | cut -d, -f1
list matching paths under /srv/svc-02767
find /srv/svc-02767 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} +
search text for svc-02768
grep -v 'timeout' /var/log/svc-02768.log 2>&1 | tee /tmp/svc-02768.log
search the svc-02769 directory tree
find /srv/svc-02769 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print >> /tmp/svc-02769.out
display docker container details for svc-02770
docker ps -q --filter 'status=exited' | sort | tee /tmp/svc-02770.out | head -n 20
locate matching files in /srv/svc-02771
find /srv/svc-02771 -maxdepth 2 -type f -name '*.json' -size +50M -exec ls -lh {} + | sort -u
list matching paths under /srv/svc-02772
find /srv/svc-02772 -type l -name '*.conf' -size +50M -exec gzip {} + | sort -nr
count matching processes for svc-02773
pgrep -l -f svc-02773 | tail -n 20
filter JSON records for svc-02774
jq -c '.services | keys[]' /srv/svc-02774/health.json | grep -i error
clean up selected files in /srv/svc-02775
find /srv/svc-02775 -maxdepth 2 -type f -name '*.tmp' -delete | fold -w 120
locate matching files in /srv/svc-02776
find /srv/svc-02776 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | tail -n 10
summarize text columns for svc-02777
awk -F, '{sum += $5} END {print sum}' /srv/svc-02777/metrics.txt | grep -v '^#'
set access modes for svc-02778
chmod 640 /etc/svc-02778/secrets.env | grep -i warn
start a disposable docker container for svc-02779
docker run --rm -d -v /srv/svc-02779/logs:/logs:ro busybox:1.36 df -h | cut -d: -f1
clean up selected files in /srv/svc-02780
find /srv/svc-02780 -type l -name '*.conf' -print 2>/dev/null
stream pod logs for svc-02781
kubectl logs deployment/svc-02781 --timestamps --tail=50 | uniq