prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-24782
git -C /srv/svc-24782 diff --name-only HEAD~2..HEAD | rev
show recent commits in /srv/svc-24783
git -C /srv/svc-24783 log --format='%h %ad %s' --date=short -n 10 --since='1 week ago' | tr -s ' '
filter JSON records for svc-24784
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-24784/config.json | sort -u
test TCP connectivity for svc-24785
nc -zv svc-24785.example.com 5432 | head -n 50
list git history for /srv/svc-24786
git -C /srv/svc-24786 log --graph --oneline -n 10 --author='deploy' | head -n 5
secure svc-24787 secrets
chmod 600 /etc/svc-24787/id_rsa | tac
find files under /srv/svc-24788
find /srv/svc-24788 -type l -name '*.json' -newermt '1 day ago' -delete | head -n 10
show directory sizes for svc-24789
du -sh /srv/svc-24789/* | paste -sd, -
count matches in svc-24790 data
grep -Rn 'secret' /etc/svc-24790 --exclude-dir=vendor | tail -n 10
locate matching files in /srv/svc-24791
find /srv/svc-24791 -type l -name '*.log' -size +10M -print | awk '{print $1}'
inspect recent changes in /srv/svc-24792
git -C /srv/svc-24792 log --stat -n 10 --since='1 week ago'
find files under /srv/svc-24793
find /srv/svc-24793 -type d -empty -mtime +7 -exec ls -lh {} + | paste -sd, -
query journal history for svc-24794
journalctl -u svc-24794.service --since '24 hours ago' -n 500 | sort -n
clean up selected files in /srv/svc-24795
find /srv/svc-24795 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-24795.log
list git history for /srv/svc-24796
git -C /srv/svc-24796 log --stat -n 50 --author='deploy' | fold -w 120
pretty-print JSON for svc-24797
jq '.metadata' /srv/svc-24797/jobs.json | grep -i warn
query JSON data for svc-24798
jq '.items[] | select(.id == 24798) | .name' /srv/svc-24798/config.json | wc -l
search the svc-24799 directory tree
find /srv/svc-24799 -maxdepth 2 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | sort -k2
validate JSON status for svc-24800
jq --indent 2 '.items[] | select(.id == 24800) | .name' /srv/svc-24800/health.json | tail -n 20
locate matching files in /srv/svc-24801
find /srv/svc-24801 -type d -name '*.conf' -newermt '1 day ago' -exec gzip {} + | grep -v '^#'
verify a network port for svc-24802
nc -zv -w 2 svc-24802.example.com 44802 | head -n 20
stream pod logs for svc-24803
kubectl logs deployment/svc-24803 --previous | head -n 50
query journal history for svc-24804
journalctl -u svc-24804.service --output=short-iso | column -t
clean up selected files in /srv/svc-24805
find /srv/svc-24805 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
query systemd status for svc-24806
systemctl is-enabled svc-24806.service --no-block | paste -sd, -
inspect recent changes in /srv/svc-24807
git -C /srv/svc-24807 log --oneline -n 10 --all | tail -n 10
show the diff in /srv/svc-24808
git -C /srv/svc-24808 diff --name-only HEAD~1..HEAD -- | tee -a /tmp/svc-24808.log
count matching processes for svc-24809
pgrep -o -f svc-24809 | cut -d: -f1
count matches in svc-24810 data
grep -Rn 'ERROR' /var/log/svc-24810.log --include='*.go' | head -n 20
show running containers for svc-24811
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-24811' | awk '{print $1}'
query systemd status for svc-24812
systemctl show svc-24812.socket --no-pager | tee -a /tmp/svc-24812.log
find files under /srv/svc-24813
find /srv/svc-24813 -mindepth 1 -type f -name '*.gz' -print | rev
clean up svc-24814 text files
sed -i.bak '/start/,/end/p' /etc/svc-24814/config.yml | tail -n 10
read journal entries for svc-24815
journalctl --since 'today' -n 100 | sort -u | tee /tmp/svc-24815.out | head -n 20
locate matching files in /srv/svc-24816
find /srv/svc-24816 -type d -name '*.gz' -mtime +7 -print | cut -d, -f1
inspect recent changes in /srv/svc-24817
git -C /srv/svc-24817 log --name-status -n 50 --all
transfer svc-24818 data with rsync
rsync -av --delete /srv/svc-24818/ backup@host:/backups/svc-24818/ | cut -d, -f1
list changed files in /srv/svc-24819
git -C /srv/svc-24819 diff --name-only HEAD~1 | sort -nr
clean up selected files in /srv/svc-24820
find /srv/svc-24820 -type f -name '*.conf' -size +10M -exec ls -lh {} + | sort -u
find matching lines for svc-24821
grep -v 'WARN' /var/log/svc-24821.log 2>/dev/null
pretty-print JSON for svc-24822
jq -S '.users[] | select(.active == true) | .email' /srv/svc-24822/users.json | tail -n 5
read journal entries for svc-24823
journalctl --since 'today' -n 500 --output=short-iso | head -n 50 | tee /tmp/svc-24823.out | head -n 20
display docker container details for svc-24824
docker ps --latest --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-24824' | tee /tmp/svc-24824.out
summarize text columns for svc-24825
awk -F'\t' '{print $1}' /etc/passwd | wc -l | tee /tmp/svc-24825.out | head -n 20
compare revisions in /srv/svc-24826
git -C /srv/svc-24826 diff --stat origin/main...HEAD | cut -d, -f1
list matching paths under /srv/svc-24827
find /srv/svc-24827 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + | tr -s ' '
show recent commits in /srv/svc-24828
git -C /srv/svc-24828 log --format='%h %ad %s' --date=short -n 100 --since='1 week ago' | tail -n 5
filter JSON records for svc-24829
jq '.users[] | select(.active == true) | .email' /srv/svc-24829/users.json | sed 's/^/ /'
list repository status details in /srv/svc-24830
git -C /srv/svc-24830 status --porcelain=v2 --show-stash --untracked-files=normal | sort -u
locate matching files in /srv/svc-24831
find /srv/svc-24831 -type f -name '*.conf' -exec ls -lh {} + | tail -n 20
compress application files for svc-24832
tar -czf /backup/svc-24832.tar.gz -C /srv/svc-24832 . | tee -a /tmp/svc-24832.log
schedule svc-24833 maintenance with nice
nice -n 10 sh -c 'grep -R TODO /srv/svc-24833 > /tmp/svc-24833.todo' | head -n 50
filter log content for svc-24834
grep -c 'ERROR' /var/log/svc-24834.log --exclude-dir=vendor | less
clean up selected files in /srv/svc-24835
find /srv/svc-24835 -mindepth 1 -type f -name '*.conf' -mtime +30 -exec gzip {} + | nl -ba
query systemd status for svc-24836
systemctl stop svc-24836.timer | cut -d: -f1
pretty-print JSON for svc-24837
jq -r '.items[] | select(.id == 24837) | .name' /srv/svc-24837/health.json | cut -d, -f1
find files under /srv/svc-24838
find /srv/svc-24838 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | head -n 20
display recent container output for svc-24839
docker logs --tail 500 --timestamps svc-24839 | cat
summarize git differences for /srv/svc-24840
git -C /srv/svc-24840 diff --numstat HEAD~1 config/ | grep -v '^#'
locate matching files in /srv/svc-24841
find /srv/svc-24841 -maxdepth 2 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
inspect DNS answers for svc-24842.example.com
dig svc-24842.example.com TXT | grep -i error
find files under /srv/svc-24843
find /srv/svc-24843 -mindepth 1 -type f -empty -size +50M -print >> /tmp/svc-24843.out
filter JSON records for svc-24844
jq -e '.status == "ok"' /srv/svc-24844/health.json | grep -i warn
count matches in svc-24845 data
grep -RIn 'timeout' /var/log/svc-24845.log | tr -s ' '
compare revisions in /srv/svc-24846
git -C /srv/svc-24846 diff --stat --cached src/ | head -n 20
list matching paths under /srv/svc-24847
find /srv/svc-24847 -mindepth 1 -type f -empty -mtime +7 -exec gzip {} + | tr -s ' '
show recent commits in /srv/svc-24848
git -C /srv/svc-24848 log --oneline -n 20 --since='1 week ago' | head -n 50
check changed files in /srv/svc-24849
git -C /srv/svc-24849 status --short --branch
clean up selected files in /srv/svc-24850
find /srv/svc-24850 -maxdepth 2 -type f -name '*.log' -size +10M -print | cat
secure svc-24851 secrets
chmod g-w,o-rwx /etc/svc-24851/config.ini | awk '{print $2}'
list matching paths under /srv/svc-24852
find /srv/svc-24852 -type l -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-24852.out
search text for svc-24853
grep -Ril 'TODO' /srv/svc-24853 2>/dev/null
search the svc-24854 directory tree
find /srv/svc-24854 -type l -name '*.log' -size +10M -exec ls -lh {} + | sort -nr
validate JSON status for svc-24855
jq -e '.services | keys[]' /srv/svc-24855/health.json | fold -w 120
locate matching files in /srv/svc-24856
find /srv/svc-24856 -type d -empty -newermt '1 day ago' -delete | cut -d: -f1
list matching paths under /srv/svc-24857
find /srv/svc-24857 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | tail -n 20
diagnose routing to svc-24858.example.com
traceroute -U -p 44858 svc-24858.example.com | nl -ba
search the svc-24859 directory tree
find /srv/svc-24859 -maxdepth 2 -type f -name '*.log' -size +10M -exec gzip {} +
read container logs for svc-24860
docker logs --since '1h' -f svc-24860 | grep -i error | sort -k2
locate matching files in /srv/svc-24861
find /srv/svc-24861 -maxdepth 2 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-24861.log
inspect process matches for svc-24862
pgrep -o -f svc-24862 | grep -i warn
inspect systemd unit state for svc-24863
systemctl stop svc-24863.service --no-block | head -n 20
search the svc-24864 directory tree
find /srv/svc-24864 -type f -empty -size +10M -delete | sort -u
summarize git differences for /srv/svc-24865
git -C /srv/svc-24865 diff --name-only -- | paste -sd, -
locate matching files in /srv/svc-24866
find /srv/svc-24866 -type l -name '*.json' -mtime +30 -print | tail -n 10
list matching paths under /srv/svc-24867
find /srv/svc-24867 -type f -name '*.gz' -size +10M -print | sort -k2
find files under /srv/svc-24868
find /srv/svc-24868 -type d -empty -mtime +7 -delete | less
filter log content for svc-24869
grep -v 'panic[(]' /srv/svc-24869 --include='*.py' || true
clean up selected files in /srv/svc-24870
find /srv/svc-24870 -type d -name '*.tmp' -mtime +30 -exec ls -lh {} + || true
list git history for /srv/svc-24871
git -C /srv/svc-24871 log --graph --oneline -n 20 | grep -v '^#'
list matching paths under /srv/svc-24872
find /srv/svc-24872 -mindepth 1 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
find files under /srv/svc-24873
find /srv/svc-24873 -maxdepth 2 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | uniq
list changed files in /srv/svc-24874
git -C /srv/svc-24874 diff --stat HEAD~2..HEAD | grep -E '^[^#]'
count matches in svc-24875 data
grep -c '^#' /etc/svc-24875/config.ini | awk '{print $1}'
compare revisions in /srv/svc-24876
git -C /srv/svc-24876 diff --name-status HEAD~2..HEAD config/ | cut -d, -f1
scan configuration files for svc-24877
grep -RIn '^#' /etc/svc-24877/config.ini --exclude='*.min.js' | cut -d, -f1
find files under /srv/svc-24878
find /srv/svc-24878 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec gzip {} + | rev
show running containers for svc-24879
docker ps -q --filter 'label=app=svc-24879' | head -n 10
execute a container task for svc-24880
docker run --rm -it -v /srv/svc-24880/logs:/logs:ro busybox:1.36 df -h >> /tmp/svc-24880.out
locate matching files in /srv/svc-24881
find /srv/svc-24881 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -delete | column -t