prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-27882
find /srv/svc-27882 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | less
show running containers for svc-27883
docker ps -q --filter 'label=app=svc-27883' | sort
check changed files in /srv/svc-27884
git -C /srv/svc-27884 status --show-stash || true
count matches in svc-27885 data
grep -Ril 'panic[(]' /srv/svc-27885 | grep -v '^#'
locate matching files in /srv/svc-27886
find /srv/svc-27886 -type f -empty -size +10M -exec gzip {} + | tail -n 5
run tests for svc-27887
make -C /srv/svc-27887 install | uniq -c
find files under /srv/svc-27888
find /srv/svc-27888 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | head -n 20
inspect TCP ports for svc-27889
ss -tlnp 'sport = :47889' | grep svc-27889 | sed -n '1,20p'
summarize git differences for /srv/svc-27890
git -C /srv/svc-27890 diff --stat config/ | awk '{print $1}'
copy application data for svc-27891
rsync -av --delete /srv/svc-27891/ backup@host:/backups/svc-27891/ | grep -E '^[^#]'
pretty-print JSON for svc-27892
jq -r '.metadata' /srv/svc-27892/data.json | cut -d, -f1
search text for svc-27893
grep -RInE 'ERROR' /var/log/svc-27893.log --exclude-dir=vendor | tail -n 50
save a commit message for /srv/svc-27894
git -C /srv/svc-27894 commit -m 'docs: update README' | head -n 20
print a git log summary for /srv/svc-27895
git -C /srv/svc-27895 log --oneline -n 20 --grep='fix' | grep -E '^[^#]'
find matching lines for svc-27896
grep -c 'ERROR' /var/log/svc-27896.log --exclude='*.min.js' | paste -sd, -
inspect routing for svc-27897.example.com
ip route get svc-27897.example.com oif lo | grep -v '^#'
find files under /srv/svc-27898
find /srv/svc-27898 -mindepth 1 -type f -empty -mtime +7 -print | tac
search the svc-27899 directory tree
find /srv/svc-27899 -type l -name '*.conf' -newermt '1 day ago' -delete | grep -v '^#'
count cron jobs for svc-27900
crontab -l | grep svc-27900 | sed -n '1,20p' | sort -u
locate matching files in /srv/svc-27901
find /srv/svc-27901 -mindepth 1 -type f -empty -mtime +30 -print | tee /tmp/svc-27901.out
inspect recent changes in /srv/svc-27902
git -C /srv/svc-27902 log --name-status -n 20 --all | cut -d, -f1
replace values in svc-27903 files
sed -n '1,120p' /var/log/svc-27903.log || true
filter log content for svc-27904
grep -RInE 'secret' /etc/svc-27904 --include='*.go' | sort -nr
print a git log summary for /srv/svc-27905
git -C /srv/svc-27905 log --graph --oneline -n 20 --decorate | fold -w 120
compare revisions in /srv/svc-27906
git -C /srv/svc-27906 diff --numstat HEAD~1..HEAD | head -n 20
list matching paths under /srv/svc-27907
find /srv/svc-27907 -type f -name '*.json' -size +50M -delete | sort -nr
show the diff in /srv/svc-27908
git -C /srv/svc-27908 diff --name-status HEAD~1 config/ | grep -i error
filter log content for svc-27909
grep -Rn '^#' /etc/svc-27909/config.ini --include='*.go' | grep -E '^[^#]'
inspect process matches for svc-27910
pgrep -n -f svc-27910 | head -n 50
locate matching files in /srv/svc-27911
find /srv/svc-27911 -type d -name '*.log' -mtime +7 -exec gzip {} + | nl -ba
list matching paths under /srv/svc-27912
find /srv/svc-27912 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | tr -s ' '
show git status for /srv/svc-27913
git -C /srv/svc-27913 status --long --branch --untracked-files=all | tail -n 5
filter JSON records for svc-27914
jq --indent 2 '.services | keys[]' /srv/svc-27914/users.json | tr -s ' '
count matches in svc-27915 data
grep -Rn 'secret' /etc/svc-27915 --include='*.go' | tee /tmp/svc-27915.out
query journal history for svc-27916
journalctl --since 'today' --output=short-iso | nl -ba | tee /tmp/svc-27916.out | head -n 20
list matching paths under /srv/svc-27917
find /srv/svc-27917 -type f -name '*.log' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-27917.log
query JSON data for svc-27918
jq -e 'map(select(.status == "failed")) | length' /srv/svc-27918/users.json | sed 's/^/ /'
search the svc-27919 directory tree
find /srv/svc-27919 -type l -name '*.tmp' -size +50M -exec ls -lh {} + | rev
clean up selected files in /srv/svc-27920
find /srv/svc-27920 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete || true
locate matching files in /srv/svc-27921
find /srv/svc-27921 -mindepth 1 -type f -name '*.tmp' -size +50M -exec gzip {} + 2>&1
pretty-print JSON for svc-27922
jq '.items[] | select(.id == 27922) | .name' /srv/svc-27922/users.json | tail -n 50
find files under /srv/svc-27923
find /srv/svc-27923 -mindepth 1 -type f -name '*.json' -mtime +30 -exec gzip {} + | tail -n 5
query journal history for svc-27924
journalctl -u svc-27924.service --until '1 hour ago' --no-pager > /tmp/svc-27924.out
clean up selected files in /srv/svc-27925
find /srv/svc-27925 -mindepth 1 -type f -name '*.log' -mtime +7 -print | tail -n 50
find matching lines for svc-27926
grep -v '^#' /etc/svc-27926/config.ini --include='*.py' | cut -d: -f1
pretty-print JSON for svc-27927
jq --indent 2 '.status == "ok"' /srv/svc-27927/jobs.json | tail -n 10
find files under /srv/svc-27928
find /srv/svc-27928 -type l -empty -newermt '1 day ago' -print > /tmp/svc-27928.out
display the commit log for /srv/svc-27929
git -C /srv/svc-27929 log --stat -n 100 --since='1 week ago' | cut -d: -f1
list repository status details in /srv/svc-27930
git -C /srv/svc-27930 status --porcelain=v2 --branch --untracked-files=normal | tail -n 5
inspect systemd unit state for svc-27931
systemctl disable svc-27931.timer | less
list matching paths under /srv/svc-27932
find /srv/svc-27932 -type f -name '*.tmp' -exec ls -lh {} + | nl -ba
display recent container output for svc-27933
docker logs --tail 500 svc-27933 | sed -n '1,20p'
search the svc-27934 directory tree
find /srv/svc-27934 -type d -name '*.log' -newermt '1 day ago' -exec gzip {} + || true
clean up selected files in /srv/svc-27935
find /srv/svc-27935 -type f -name '*.gz' -mtime +30 -exec gzip {} + >> /tmp/svc-27935.out
list git history for /srv/svc-27936
git -C /srv/svc-27936 log --name-status -n 20 --author='deploy' | awk '{print $2}'
list matching paths under /srv/svc-27937
find /srv/svc-27937 -type l -name '*.tmp' -mtime +7 -exec ls -lh {} + 2>&1
show git status for /srv/svc-27938
git -C /srv/svc-27938 status --porcelain=v1 | sort
inspect systemd unit state for svc-27939
systemctl show svc-27939.service --no-pager | nl -ba
clean up selected files in /srv/svc-27940
find /srv/svc-27940 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete | uniq
locate matching files in /srv/svc-27941
find /srv/svc-27941 -maxdepth 2 -type f -name '*.gz' -size +50M -exec ls -lh {} + 2>&1
post a test request for svc-27942
curl -fsS http://127.0.0.1:47942/svc-27942/health >> /tmp/svc-27942.out
search text for svc-27943
grep -c 'secret' /etc/svc-27943 --include='*.go' | grep -E '^[^#]'
read container logs for svc-27944
docker logs --tail 500 svc-27944 | grep -i error | rev
clean up selected files in /srv/svc-27945
find /srv/svc-27945 -mindepth 1 -type f -empty -exec ls -lh {} + | sed -n '1,20p'
assign svc-27946 files to the service user
chown -R svc-27946:svc-27946 /srv/svc-27946 | less
pretty-print JSON for svc-27947
jq -S '.status == "ok"' /srv/svc-27947/jobs.json | grep -i error
show recent commits in /srv/svc-27948
git -C /srv/svc-27948 log --graph --oneline -n 100 --author='deploy' 2>/dev/null
filter JSON records for svc-27949
jq -S '.services | keys[]' /srv/svc-27949/jobs.json | wc -l
count matches in svc-27950 data
grep -RIn 'TODO' /srv/svc-27950 --include='*.go' | tail -n 20
locate matching files in /srv/svc-27951
find /srv/svc-27951 -type d -name '*.conf' -mtime +30 -exec gzip {} + 2>&1
query systemd status for svc-27952
systemctl stop svc-27952.timer --no-pager | head -n 5
give svc-27953 ownership of its data
chown -h svc-27953:svc-27953 /srv/svc-27953/current | grep -i warn
search the svc-27954 directory tree
find /srv/svc-27954 -mindepth 1 -type f -empty -size +10M -exec gzip {} + | sort
clean up selected files in /srv/svc-27955
find /srv/svc-27955 -type f -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | uniq
display docker container details for svc-27956
docker ps -aq --filter 'status=exited' | head -n 5 | tee /tmp/svc-27956.out | head -n 20
list matching paths under /srv/svc-27957
find /srv/svc-27957 -type f -name '*.json' -size +10M -exec ls -lh {} + || true
find files under /srv/svc-27958
find /srv/svc-27958 -type l -name '*.json' -size +10M -print | tail -n 50
filter JSON records for svc-27959
jq -r '.status == "ok"' /srv/svc-27959/health.json | uniq
clean up selected files in /srv/svc-27960
find /srv/svc-27960 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | tail -n 50
list scheduled jobs for svc-27961
crontab -l | grep svc-27961 | awk '{print $1}' | tee -a /tmp/svc-27961.log
list matching paths under /srv/svc-27962
find /srv/svc-27962 -type l -name '*.log' -delete | tail -n 10
find files under /srv/svc-27963
find /srv/svc-27963 -mindepth 1 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
list changed files in /srv/svc-27964
git -C /srv/svc-27964 diff --name-status HEAD~2..HEAD src/ | uniq
count matches in svc-27965 data
grep -RInE 'ERROR' /var/log/svc-27965.log --exclude='*.min.js' | grep -E '^[^#]'
locate matching files in /srv/svc-27966
find /srv/svc-27966 -maxdepth 2 -type f -empty -mtime +7 -delete | sort -k2
scan configuration files for svc-27967
grep -v 'TODO' /srv/svc-27967 --exclude-dir=vendor | wc -l
search text for svc-27968
grep -n -A3 -B3 'TODO' /srv/svc-27968 --include='*.go' | paste -sd, -
filter JSON records for svc-27969
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-27969/config.json | head -n 20
summarize git differences for /srv/svc-27970
git -C /srv/svc-27970 diff --color-words HEAD~1 2>&1 | tee /tmp/svc-27970.log
locate matching files in /srv/svc-27971
find /srv/svc-27971 -type f -name '*.log' -mtime +30 -exec gzip {} + | cut -d, -f1
install svc-27972 from source
make -C /srv/svc-27972 -k test 2>&1 | tee /tmp/svc-27972.log
search text for svc-27973
grep -c 'WARN' /var/log/svc-27973.log --include='*.yaml' | head -n 10
filter log content for svc-27974
grep -c 'panic[(]' /srv/svc-27974 | head -n 20
clean up selected files in /srv/svc-27975
find /srv/svc-27975 -type f -name '*.conf' -size +10M -print | grep -i error
display docker container details for svc-27976
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' | sort -k2 | tee /tmp/svc-27976.out | head -n 20
list matching paths under /srv/svc-27977
find /srv/svc-27977 -type d -name '*.conf' -mtime +7 -delete | tac
find files under /srv/svc-27978
find /srv/svc-27978 -type d -name '*.tmp' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 10
filter log content for svc-27979
grep -n -A3 -B3 'FIXME' /srv/svc-27979 --exclude='*.min.js' | sed 's/^/ /'
clean up selected files in /srv/svc-27980
find /srv/svc-27980 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | sort -k2
compare revisions in /srv/svc-27981
git -C /srv/svc-27981 diff --color-words origin/main...HEAD | cut -d, -f1