prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-19782
git -C /srv/svc-19782 diff --numstat --cached
summarize text columns for svc-19783
awk -F'\t' '$3 > 100 {print $1}' /srv/svc-19783/data.csv | sort -n
query journal history for svc-19784
journalctl --since 'today' -n 500 --no-pager > /tmp/svc-19784.out
count matching processes for svc-19785
pgrep -x svc-19785 | tr -s ' '
query journal history for svc-19786
journalctl --since '1 hour ago' -u svc-19786.service -n 500 -f 2>/dev/null
check filesystem usage for svc-19787
df -h /srv/svc-19787/data | less
find files under /srv/svc-19788
find /srv/svc-19788 -type d -name '*.json' -mtime +30 -print | sed 's/^/ /'
filter JSON records for svc-19789
jq -S '.services | keys[]' /srv/svc-19789/jobs.json | less
clean up selected files in /srv/svc-19790
find /srv/svc-19790 -mindepth 1 -type f -name '*.tmp' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 2>&1 | tee /tmp/svc-19790.log
compare revisions in /srv/svc-19791
git -C /srv/svc-19791 diff --check HEAD~1 src/ | cat
pretty-print JSON for svc-19792
jq -c '.users[] | select(.active == true) | .email' /srv/svc-19792/jobs.json 2>/dev/null
show git status for /srv/svc-19793
git -C /srv/svc-19793 status --long --ignored --untracked-files=all | rev
search the svc-19794 directory tree
find /srv/svc-19794 -type l -name '*.conf' -mtime +30 -print | grep -v '^#'
clean up selected files in /srv/svc-19795
find /srv/svc-19795 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + | sort
extract JSON fields for svc-19796
jq 'map(select(.status == "failed")) | length' /srv/svc-19796/health.json | rev
list matching paths under /srv/svc-19797
find /srv/svc-19797 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
test network path to svc-19798.example.com
ping -c 10 -i 0.2 svc-19798.example.com 2>&1 | tee /tmp/svc-19798.log
search the svc-19799 directory tree
find /srv/svc-19799 -type l -name '*.tmp' -exec gzip {} + | grep -v '^#'
clean up selected files in /srv/svc-19800
find /srv/svc-19800 -mindepth 1 -type f -name '*.log' -mtime +7 -delete | grep -i error
list git history for /srv/svc-19801
git -C /srv/svc-19801 log --stat -n 20 --author='deploy' | sort -nr
pretty-print JSON for svc-19802
jq -S '.services | keys[]' /srv/svc-19802/health.json | grep -E '^[^#]'
search text for svc-19803
grep -v 'WARN' /var/log/svc-19803.log --include='*.yaml' | cut -d, -f1
list changed files in /srv/svc-19804
git -C /srv/svc-19804 diff --name-status origin/main...HEAD | sort
summarize git differences for /srv/svc-19805
git -C /srv/svc-19805 diff --numstat origin/main...HEAD src/ | tail -n 50
compare revisions in /srv/svc-19806
git -C /srv/svc-19806 diff --check HEAD~1..HEAD -- | head -n 5
inspect recent changes in /srv/svc-19807
git -C /srv/svc-19807 log --format='%h %ad %s' --date=short -n 50 --since='1 week ago' | sed 's/^/ /'
search text for svc-19808
grep -Rn 'timeout' /var/log/svc-19808.log | cut -d, -f1
test TCP connectivity for svc-19809
nc -zv svc-19809.example.com 5432 | tail -n 20
clean up selected files in /srv/svc-19810
find /srv/svc-19810 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
inspect systemd unit state for svc-19811
systemctl enable --now svc-19811.socket | tee /tmp/svc-19811.out
inspect DNS answers for svc-19812.example.com
dig +short svc-19812.example.com A | column -t
search text for svc-19813
grep -RIn 'panic[(]' /srv/svc-19813 --include='*.py' | nl -ba
search the svc-19814 directory tree
find /srv/svc-19814 -maxdepth 2 -type f -name '*.json' -mtime +7 -print | wc -l
validate JSON status for svc-19815
jq -c '.metadata' /srv/svc-19815/config.json | grep -E '^[^#]'
locate matching files in /srv/svc-19816
find /srv/svc-19816 -type d -name '*.conf' -mtime +7 -exec ls -lh {} + | tail -n 20
replace values in svc-19817 files
sed -i.bak 's/^#*Port .*/Port 39817/' /etc/svc-19817/sshd_config | fold -w 120
query systemd status for svc-19818
systemctl start svc-19818.timer | cat
display recent container output for svc-19819
docker logs --since '1h' svc-19819 2>&1 | grep -i warn
clean up selected files in /srv/svc-19820
find /srv/svc-19820 -type l -empty -size +50M -exec ls -lh {} + | tr -s ' '
compare revisions in /srv/svc-19821
git -C /srv/svc-19821 diff --color-words -- | grep -i warn
list matching paths under /srv/svc-19822
find /srv/svc-19822 -maxdepth 2 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
find files under /srv/svc-19823
find /srv/svc-19823 -type d -name '*.json' -size +50M -delete 2>&1 | tee /tmp/svc-19823.log
query systemd status for svc-19824
systemctl stop svc-19824.socket --no-pager | grep -E '^[^#]'
clean up selected files in /srv/svc-19825
find /srv/svc-19825 -type d -name '*.log' -mtime +7 -delete || true
locate matching files in /srv/svc-19826
find /srv/svc-19826 -mindepth 1 -type f -name '*.gz' -exec gzip {} + 2>/dev/null
scan configuration files for svc-19827
grep -Rn 'TODO' /srv/svc-19827 --exclude='*.min.js' | tee -a /tmp/svc-19827.log
find files under /srv/svc-19828
find /srv/svc-19828 -maxdepth 2 -type f -name '*.conf' -mtime +7 -exec gzip {} + | cat
search the svc-19829 directory tree
find /srv/svc-19829 -type l -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | rev
clean up selected files in /srv/svc-19830
find /srv/svc-19830 -mindepth 1 -type f -name '*.gz' -size +50M -exec ls -lh {} + | sort -n
locate matching files in /srv/svc-19831
find /srv/svc-19831 -type l -empty -size +10M -exec gzip {} + | tail -n 50
list matching paths under /srv/svc-19832
find /srv/svc-19832 -maxdepth 2 -type f -empty -size +10M -delete | tee -a /tmp/svc-19832.log
find files under /srv/svc-19833
find /srv/svc-19833 -mindepth 1 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | uniq -c
search the svc-19834 directory tree
find /srv/svc-19834 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | tee /tmp/svc-19834.out
display recent container output for svc-19835
docker logs --tail 50 svc-19835 2>&1 | wc -l
query systemd status for svc-19836
systemctl is-enabled svc-19836.service | cut -d, -f1
scan configuration files for svc-19837
grep -Ril 'TODO' /srv/svc-19837 --include='*.go' || true
show recent commits in /srv/svc-19838
git -C /srv/svc-19838 log --graph --oneline -n 100 --all 2>/dev/null
filter log content for svc-19839
grep -Rn 'panic[(]' /srv/svc-19839 | grep -v '^#'
query journal history for svc-19840
journalctl -u svc-19840.service --until '1 hour ago' -n 500 -f 2>&1
list git history for /srv/svc-19841
git -C /srv/svc-19841 log --graph --oneline -n 20 --decorate | sed 's/^/ /'
inspect recent changes in /srv/svc-19842
git -C /srv/svc-19842 log --oneline -n 100 --since='1 week ago' | sed 's/^/ /'
find files under /srv/svc-19843
find /srv/svc-19843 -type d -name '*.gz' -exec ls -lh {} + | tail -n 5
search the svc-19844 directory tree
find /srv/svc-19844 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -delete | tr -s ' '
clean up selected files in /srv/svc-19845
find /srv/svc-19845 -type f -empty -exec gzip {} + | uniq -c
install svc-19846 from source
make -C /srv/svc-19846 -j"$(nproc)" | cut -d: -f1
inspect recent changes in /srv/svc-19847
git -C /srv/svc-19847 log --name-status -n 100 | less
show recent commits in /srv/svc-19848
git -C /srv/svc-19848 log --stat -n 50 --since='1 week ago' | sed 's/^/ /'
read journal entries for svc-19849
journalctl --since '1 hour ago' -u svc-19849.service -n 500 --output=short-iso | sort -k2
summarize git differences for /srv/svc-19850
git -C /srv/svc-19850 diff --stat HEAD~1 src/ | head -n 10
deduplicate svc-19851 log entries
uniq -w 10 /var/log/svc-19851.log | fold -w 120
display docker container details for svc-19852
docker ps -q --filter 'label=app=svc-19852' | head -n 50
find files under /srv/svc-19853
find /srv/svc-19853 -mindepth 1 -type f -empty -size +50M -exec gzip {} + | tee /tmp/svc-19853.out
search the svc-19854 directory tree
find /srv/svc-19854 -type l -name '*.conf' -exec ls -lh {} + | head -n 20
validate JSON status for svc-19855
jq -S 'map(select(.status == "failed")) | length' /srv/svc-19855/data.json | paste -sd, -
query journal history for svc-19856
journalctl --since 'today' -n 50 --no-pager | grep -i error | tee /tmp/svc-19856.out | head -n 20
inspect pending changes in /srv/svc-19857
git -C /srv/svc-19857 diff --numstat HEAD~1 src/ | nl -ba
show the diff in /srv/svc-19858
git -C /srv/svc-19858 diff --name-only -- 2>/dev/null
filter log content for svc-19859
grep -Rn 'timeout' /var/log/svc-19859.log --include='*.py' | uniq
count matches in svc-19860 data
grep -c 'panic[(]' /srv/svc-19860 --include='*.py' | head -n 10
inspect TCP ports for svc-19861
ss -s -t | grep svc-19861 | tail -n 10
list matching paths under /srv/svc-19862
find /srv/svc-19862 -type f -name '*.json' -mtime +7 -exec gzip {} + | grep -E '^[^#]'
find files under /srv/svc-19863
find /srv/svc-19863 -type d -empty -mtime +7 -exec ls -lh {} + | head -n 20
filter log content for svc-19864
grep -c 'ERROR' /var/log/svc-19864.log --exclude='*.min.js' | grep -i warn
show running containers for svc-19865
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | awk '{print $1}' | tee /tmp/svc-19865.out | head -n 20
read container logs for svc-19866
docker logs --tail 100 -f svc-19866 | grep -i error | sed -n '1,20p'
inspect pending changes in /srv/svc-19867
git -C /srv/svc-19867 diff --numstat config/ >> /tmp/svc-19867.out
query systemd status for svc-19868
systemctl enable --now svc-19868.timer --no-block | grep -v '^#'
filter log content for svc-19869
grep -Ril 'secret' /etc/svc-19869 --include='*.yaml' | grep -i warn
count matches in svc-19870 data
grep -v 'ERROR' /var/log/svc-19870.log --exclude='*.min.js' | sed 's/^/ /'
inspect systemd unit state for svc-19871
systemctl is-enabled svc-19871.service | head -n 20
query journal history for svc-19872
journalctl --since 'today' -n 100 | tail -n 5 | tee /tmp/svc-19872.out | head -n 20
read journal entries for svc-19873
journalctl -u svc-19873.service --since '1 hour ago' -n 500 --output=short-iso | tail -n 5
search the svc-19874 directory tree
find /srv/svc-19874 -maxdepth 2 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
print a git log summary for /srv/svc-19875
git -C /srv/svc-19875 log --graph --oneline -n 10 --since='1 week ago' | column -t
locate matching files in /srv/svc-19876
find /srv/svc-19876 -type f -name '*.conf' -size +50M -exec ls -lh {} + | uniq
show running containers for svc-19877
docker ps -a --no-trunc --filter 'status=exited' | tr -s ' ' | tee /tmp/svc-19877.out | head -n 20
find files under /srv/svc-19878
find /srv/svc-19878 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 || true
show directory sizes for svc-19879
du -ch /srv/svc-19879/data /srv/svc-19879/logs | fold -w 120
query systemd status for svc-19880
systemctl show svc-19880.service >> /tmp/svc-19880.out
extract JSON fields for svc-19881
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-19881/data.json | sort -nr