prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-27682
grep -v 'timeout' /var/log/svc-27682.log --exclude='*.min.js' | grep -i error
order svc-27683 data numerically
sort -t, -k3,3nr /srv/svc-27683/scores.csv | head -n 10 | paste -sd, -
search the svc-27684 directory tree
find /srv/svc-27684 -type l -name '*.gz' -mtime +7 -delete > /tmp/svc-27684.out
read journal entries for svc-27685
journalctl --since 'today' -n 50 --no-pager | sort -nr | tee /tmp/svc-27685.out | head -n 20
locate matching files in /srv/svc-27686
find /srv/svc-27686 -type l -empty -exec gzip {} + | sort -u
list matching paths under /srv/svc-27687
find /srv/svc-27687 -type f -name '*.json' -mtime +7 -exec gzip {} + | sed -n '1,20p'
list svc-27688 account details
id -un svc-27688 | awk '{print $2}'
search the svc-27689 directory tree
find /srv/svc-27689 -mindepth 1 -type f -name '*.tmp' -size +50M -print 2>&1 | tee /tmp/svc-27689.log
validate JSON status for svc-27690
jq -S '.status == "ok"' /srv/svc-27690/health.json | cat
locate matching files in /srv/svc-27691
find /srv/svc-27691 -type d -name '*.tmp' -delete | awk '{print $2}'
query journal history for svc-27692
journalctl -u svc-27692.service --since '1 hour ago' -f | sort -n
read journal entries for svc-27693
journalctl --since '1 hour ago' -u svc-27693.service -n 50 --no-pager | grep -E '^[^#]'
process log fields for svc-27694
awk '{print length($0), $0}' /etc/svc-27694/config.ini | sort -nr | head | sort
inspect systemd unit state for svc-27695
systemctl reload svc-27695.timer --no-block > /tmp/svc-27695.out
extract JSON fields for svc-27696
jq -c '.items[] | .name' /srv/svc-27696/config.json | grep -i error
list matching paths under /srv/svc-27697
find /srv/svc-27697 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 20
read container logs for svc-27698
docker logs --tail 50 --timestamps svc-27698 2>&1 | tee /tmp/svc-27698.log
select fields from svc-27699 files
cut -d: -f1 /etc/passwd | sort -u 2>&1 | tee /tmp/svc-27699.log
validate JSON status for svc-27700
jq -S '.status == "ok"' /srv/svc-27700/health.json >> /tmp/svc-27700.out
find matching lines for svc-27701
grep -RInE '^#' /etc/svc-27701/config.ini --include='*.yaml' | tail -n 20
inspect recent changes in /srv/svc-27702
git -C /srv/svc-27702 log --name-status -n 20 --since='1 week ago' | tail -n 5
find files under /srv/svc-27703
find /srv/svc-27703 -type d -name '*.json' -mtime +30 -exec ls -lh {} + | awk '{print $2}'
search the svc-27704 directory tree
find /srv/svc-27704 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-27704.log
clean up selected files in /srv/svc-27705
find /srv/svc-27705 -type l -name '*.gz' -size +50M -exec ls -lh {} + | head -n 5
locate matching files in /srv/svc-27706
find /srv/svc-27706 -type d -name '*.log' -exec ls -lh {} + 2>&1 | tee /tmp/svc-27706.log
scan configuration files for svc-27707
grep -n -A3 -B3 'WARN' /var/log/svc-27707.log | grep -i warn
find files under /srv/svc-27708
find /srv/svc-27708 -type l -name '*.gz' -size +10M -print | awk '{print $2}'
search the svc-27709 directory tree
find /srv/svc-27709 -type d -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
summarize git differences for /srv/svc-27710
git -C /srv/svc-27710 diff --stat HEAD~1 src/ | uniq -c
find matching lines for svc-27711
grep -c 'ERROR' /var/log/svc-27711.log --include='*.go' || true
list matching paths under /srv/svc-27712
find /srv/svc-27712 -type l -name '*.log' -size +50M -exec gzip {} + | grep -E '^[^#]'
show the diff in /srv/svc-27713
git -C /srv/svc-27713 diff --numstat origin/main...HEAD src/ | tail -n 20
display the commit log for /srv/svc-27714
git -C /srv/svc-27714 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | head -n 50
clean up selected files in /srv/svc-27715
find /srv/svc-27715 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 >> /tmp/svc-27715.out
locate matching files in /srv/svc-27716
find /srv/svc-27716 -mindepth 1 -type f -name '*.conf' -size +50M -exec gzip {} + | grep -E '^[^#]'
scan configuration files for svc-27717
grep -Rn 'panic[(]' /srv/svc-27717 | paste -sd, -
assign svc-27718 files to the service user
chown svc-27718:svc-27718 /srv/svc-27718/data | head -n 5
copy application data for svc-27719
rsync -av --checksum /srv/svc-27719/ backup@host:/backups/svc-27719/ | tail -n 10
assign svc-27720 files to the service user
chown -R --from=root:root root:svc-27720 /srv/svc-27720 | tail -n 10
inspect running tasks for svc-27721
ps -e -o pid,stat,wchan:30,cmd | grep svc-27721 | wc -l
inspect pending changes in /srv/svc-27722
git -C /srv/svc-27722 diff --name-only HEAD~2..HEAD | uniq -c
show directory sizes for svc-27723
du -ch /srv/svc-27723/data /srv/svc-27723/logs | cut -d, -f1
clean up svc-27724 text files
sed '1,120p' /var/log/svc-27724.log | uniq
inspect running tasks for svc-27725
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-27725 | tail -n 10
compare revisions in /srv/svc-27726
git -C /srv/svc-27726 diff --numstat HEAD~2..HEAD | wc -l
inspect pending changes in /srv/svc-27727
git -C /srv/svc-27727 diff --numstat HEAD~2..HEAD -- | fold -w 120
display docker container details for svc-27728
docker ps -a --filter 'status=running' | tail -n 20 | tee /tmp/svc-27728.out | head -n 20
search the svc-27729 directory tree
find /srv/svc-27729 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec gzip {} + || true
clean up selected files in /srv/svc-27730
find /srv/svc-27730 -mindepth 1 -type f -name '*.log' -size +10M -exec ls -lh {} + | grep -E '^[^#]'
locate matching files in /srv/svc-27731
find /srv/svc-27731 -type f -name '*.json' -mtime +30 -exec gzip {} + | uniq -c
inspect branch and file status for /srv/svc-27732
git -C /srv/svc-27732 status --porcelain=v2 --show-stash | tee /tmp/svc-27732.out
show the diff in /srv/svc-27733
git -C /srv/svc-27733 diff --check --cached | head -n 5
search the svc-27734 directory tree
find /srv/svc-27734 -type f -name '*.log' -size +10M -exec ls -lh {} + | paste -sd, -
clean up selected files in /srv/svc-27735
find /srv/svc-27735 -type f -name '*.gz' -newermt '1 day ago' -delete | rev
locate matching files in /srv/svc-27736
find /srv/svc-27736 -type f -name '*.tmp' -size +50M -exec gzip {} + | column -t
scan configuration files for svc-27737
grep -Ril '^#' /etc/svc-27737/config.ini --include='*.go' | tee /tmp/svc-27737.out
save a commit message for /srv/svc-27738
git -C /srv/svc-27738 commit --amend --no-edit --no-verify | head -n 50
copy application data for svc-27739
rsync -av --dry-run /srv/svc-27739/ backup@host:/backups/svc-27739/ 2>&1 | tee /tmp/svc-27739.log
count matches in svc-27740 data
grep -n -A3 -B3 'ERROR' /var/log/svc-27740.log 2>&1
inspect systemd unit state for svc-27741
systemctl show svc-27741.service | awk '{print $2}'
list matching paths under /srv/svc-27742
find /srv/svc-27742 -type d -name '*.log' -size +10M -exec gzip {} + | column -t
find files under /srv/svc-27743
find /srv/svc-27743 -type f -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | cat
search the svc-27744 directory tree
find /srv/svc-27744 -type f -name '*.json' -delete 2>&1 | tee /tmp/svc-27744.log
summarize git differences for /srv/svc-27745
git -C /srv/svc-27745 diff --numstat --cached src/ | sort -u
query journal history for svc-27746
journalctl -u svc-27746.service --no-pager | tail -n 10
read journal entries for svc-27747
journalctl -u svc-27747.service --since '24 hours ago' --no-pager | sort -k2
find files under /srv/svc-27748
find /srv/svc-27748 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | grep -v '^#'
schedule svc-27749 maintenance with nice
nice -n 5 cp -a /srv/svc-27749 /backup/svc-27749 | tee -a /tmp/svc-27749.log
clean up selected files in /srv/svc-27750
find /srv/svc-27750 -type f -name '*.gz' -mtime +7 -print | head -n 50
list git history for /srv/svc-27751
git -C /srv/svc-27751 log --name-status -n 10 --decorate | tee /tmp/svc-27751.out
list matching paths under /srv/svc-27752
find /srv/svc-27752 -maxdepth 2 -type f -name '*.conf' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
summarize text columns for svc-27753
awk -F: 'NR % 100 == 0 {print NR, $0}' /var/log/svc-27753/app.log | tail -n 20
display docker container details for svc-27754
docker ps -a --format '{{.ID}} {{.Image}}' | grep -E '^[^#]' | tee /tmp/svc-27754.out | head -n 20
validate JSON status for svc-27755
jq -e 'map(select(.status == "failed")) | length' /srv/svc-27755/jobs.json | grep -v '^#'
query journal history for svc-27756
journalctl -u svc-27756.service --since '24 hours ago' -n 50 --no-pager | tail -n 5
list matching paths under /srv/svc-27757
find /srv/svc-27757 -type l -name '*.log' -delete | tr -s ' '
query JSON data for svc-27758
jq -r '.status == "ok"' /srv/svc-27758/data.json 2>/dev/null
filter log content for svc-27759
grep -RInE 'FIXME' /srv/svc-27759 --include='*.yaml' | grep -i warn
clean up selected files in /srv/svc-27760
find /srv/svc-27760 -type l -name '*.log' -exec ls -lh {} + | fold -w 120
find matching lines for svc-27761
grep -c 'ERROR' /var/log/svc-27761.log --include='*.yaml' | head -n 10
list matching paths under /srv/svc-27762
find /srv/svc-27762 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | paste -sd, -
find files under /srv/svc-27763
find /srv/svc-27763 -maxdepth 2 -type f -name '*.gz' -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-27763.out
search the svc-27764 directory tree
find /srv/svc-27764 -type f -name '*.json' -mtime +7 -exec gzip {} + 2>/dev/null
print a git log summary for /srv/svc-27765
git -C /srv/svc-27765 log --name-status -n 50 | sort -k2
compare revisions in /srv/svc-27766
git -C /srv/svc-27766 diff --name-status origin/main...HEAD -- | less
inspect pending changes in /srv/svc-27767
git -C /srv/svc-27767 diff --color-words origin/main...HEAD | grep -i error
search text for svc-27768
grep -v 'ERROR' /var/log/svc-27768.log --include='*.go' | grep -E '^[^#]'
filter log content for svc-27769
grep -RInE 'panic[(]' /srv/svc-27769 --include='*.py' | sort -n
clean up selected files in /srv/svc-27770
find /srv/svc-27770 -type l -name '*.gz' -newermt '1 day ago' -exec gzip {} + || true
locate matching files in /srv/svc-27771
find /srv/svc-27771 -type d -name '*.log' -size +10M -exec ls -lh {} + >> /tmp/svc-27771.out
query systemd status for svc-27772
systemctl is-enabled svc-27772.timer --no-block | grep -i warn
search text for svc-27773
grep -RInE '^#' /etc/svc-27773/config.ini --include='*.py' | tee /tmp/svc-27773.out
summarize svc-27774 storage use
du -ah --max-depth=1 /srv/svc-27774 | sort -h | tail -n 5
list repository status details in /srv/svc-27775
git -C /srv/svc-27775 status --porcelain=v1 | awk '{print $2}'
query systemd status for svc-27776
systemctl is-enabled svc-27776.service --no-block | grep -v '^#'
inspect pending changes in /srv/svc-27777
git -C /srv/svc-27777 diff --numstat HEAD~2..HEAD src/ | tail -n 20
find files under /srv/svc-27778
find /srv/svc-27778 -type d -name '*.tmp' -mtime +7 -exec gzip {} + | grep -i error
filter log content for svc-27779
grep -c 'timeout' /var/log/svc-27779.log --include='*.yaml' 2>/dev/null
list repository status details in /srv/svc-27780
git -C /srv/svc-27780 status --short --ignored --untracked-files=normal | tail -n 10
compare revisions in /srv/svc-27781
git -C /srv/svc-27781 diff --numstat origin/main...HEAD src/ | uniq -c