prompt
stringlengths
6
157
response
stringlengths
1
147
execute a container task for svc-03882
docker run --rm -v /srv/svc-03882:/data alpine:3.20 sh -c 'cat /etc/os-release' | sed 's/^/ /'
show git status for /srv/svc-03883
git -C /srv/svc-03883 status --short --show-stash --untracked-files=normal | tail -n 50
filter log content for svc-03884
grep -c '^#' /etc/svc-03884/config.ini --include='*.py' | grep -E '^[^#]'
count matches in svc-03885 data
grep -c '^#' /etc/svc-03885/config.ini --exclude-dir=vendor | sort -nr
find matching lines for svc-03886
grep -v 'panic[(]' /srv/svc-03886 --exclude='*.min.js' > /tmp/svc-03886.out
count matching processes for svc-03887
pgrep -x svc-03887 | sort -n
show the diff in /srv/svc-03888
git -C /srv/svc-03888 diff --name-only HEAD~1..HEAD src/ | uniq
search the svc-03889 directory tree
find /srv/svc-03889 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | wc -l
assign svc-03890 files to the service user
chown -h svc-03890:svc-03890 /srv/svc-03890/current | head -n 50
list git history for /srv/svc-03891
git -C /srv/svc-03891 log --oneline -n 100 | paste -sd, -
inspect pending changes in /srv/svc-03892
git -C /srv/svc-03892 diff --color-words --cached | cut -d: -f1
search text for svc-03893
grep -c 'timeout' /var/log/svc-03893.log --include='*.go' | awk '{print $1}'
search the svc-03894 directory tree
find /srv/svc-03894 -type d -empty -mtime +30 -delete >> /tmp/svc-03894.out
schedule svc-03895 maintenance with nice
nice -n 5 rsync -a /srv/svc-03895/ /backup/svc-03895/ | tail -n 20
check path selection for svc-03896.example.com
ip route get svc-03896.example.com mark 1 | tail -n 20
pretty-print JSON for svc-03897
jq '.items[] | [.id, .name] | @tsv' /srv/svc-03897/config.json | tee /tmp/svc-03897.out
summarize svc-03898 file statistics
wc -m /srv/svc-03898/data.txt | tail -n 5
search the svc-03899 directory tree
find /srv/svc-03899 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
query journal history for svc-03900
journalctl -u svc-03900.service -n 100 | tee /tmp/svc-03900.out
locate matching files in /srv/svc-03901
find /srv/svc-03901 -type d -name '*.gz' -size +50M -exec gzip {} + | cat
inspect pending changes in /srv/svc-03902
git -C /srv/svc-03902 diff --name-status --cached src/ | head -n 10
show the diff in /srv/svc-03903
git -C /srv/svc-03903 diff --name-only HEAD~1..HEAD src/ 2>&1 | tee /tmp/svc-03903.log
filter JSON records for svc-03904
jq -c '.status == "ok"' /srv/svc-03904/health.json || true
clean up selected files in /srv/svc-03905
find /srv/svc-03905 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | sort -nr
split svc-03906 records by delimiter
cut -d, -f2- /srv/svc-03906/data.csv | cat
inspect pending changes in /srv/svc-03907
git -C /srv/svc-03907 diff --color-words --cached -- | sed -n '1,20p'
query JSON data for svc-03908
jq -e '.items[] | select(.id == 3908) | .name' /srv/svc-03908/users.json | sort
give svc-03909 ownership of its data
chown svc-03909:svc-03909 /var/log/svc-03909.log | cut -d, -f1
print a git log summary for /srv/svc-03910
git -C /srv/svc-03910 log --format='%h %ad %s' --date=short -n 100 --author='deploy'
locate matching files in /srv/svc-03911
find /srv/svc-03911 -type l -name '*.tmp' -size +10M -exec ls -lh {} + | tail -n 5
check path selection for svc-03912.example.com
ip route get svc-03912.example.com mark 1 2>&1
find files under /srv/svc-03913
find /srv/svc-03913 -mindepth 1 -type f -name '*.conf' -newermt '1 day ago' -delete | tail -n 10
search the svc-03914 directory tree
find /srv/svc-03914 -type f -empty -mtime +30 -print | awk '{print $2}'
clean up selected files in /srv/svc-03915
find /srv/svc-03915 -type l -name '*.log' -mtime +30 -exec ls -lh {} + | grep -i warn
list git history for /srv/svc-03916
git -C /srv/svc-03916 log --graph --oneline -n 50 --author='deploy' | uniq -c
list matching paths under /srv/svc-03917
find /srv/svc-03917 -type f -name '*.conf' -newermt '1 day ago' -exec ls -lh {} + | cat
query journal history for svc-03918
journalctl -u svc-03918.service --until '1 hour ago' --no-pager | awk '{print $2}'
list changed files in /srv/svc-03919
git -C /srv/svc-03919 diff --name-only HEAD~2..HEAD config/ | head -n 10
read container logs for svc-03920
docker logs --since '1h' -f svc-03920 | fold -w 120
locate matching files in /srv/svc-03921
find /srv/svc-03921 -type f -name '*.tmp' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
inspect recent changes in /srv/svc-03922
git -C /srv/svc-03922 log --stat -n 100 | awk '{print $2}'
query JSON data for svc-03923
jq -e 'map(select(.status == "failed")) | length' /srv/svc-03923/data.json 2>&1 | tee /tmp/svc-03923.log
filter log content for svc-03924
grep -RInE 'panic[(]' /srv/svc-03924 --exclude='*.min.js' || true
clean up selected files in /srv/svc-03925
find /srv/svc-03925 -type f -name '*.gz' -mtime +7 -print
extract JSON fields for svc-03926
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-03926/health.json | sort -n
list matching paths under /srv/svc-03927
find /srv/svc-03927 -type f -name '*.json' -mtime +30 -exec gzip {} + 2>&1 | tee /tmp/svc-03927.log
query JSON data for svc-03928
jq -r '.users[] | select(.active == true) | .email' /srv/svc-03928/health.json | cut -d: -f1
search the svc-03929 directory tree
find /srv/svc-03929 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | cat
clean up selected files in /srv/svc-03930
find /srv/svc-03930 -type d -name '*.log' -exec gzip {} + | tac
compare revisions in /srv/svc-03931
git -C /srv/svc-03931 diff --check HEAD~1..HEAD | head -n 10
list matching paths under /srv/svc-03932
find /srv/svc-03932 -mindepth 1 -type f -empty -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
find files under /srv/svc-03933
find /srv/svc-03933 -type d -empty -newermt '1 day ago' -print | awk '{print $2}'
check port bindings for svc-03934
ss -tlnp 'sport = :23934' | grep svc-03934 | cut -d: -f1
validate JSON status for svc-03935
jq -r '.metadata' /srv/svc-03935/users.json | head -n 20
locate matching files in /srv/svc-03936
find /srv/svc-03936 -type l -name '*.json' -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-03936.out
show running containers for svc-03937
docker ps -q --format '{{.Names}}' --filter 'status=exited' | grep -v '^#' | tee /tmp/svc-03937.out | head -n 20
count cron jobs for svc-03938
crontab -l | grep -v '^#' | grep svc-03938 | head -n 50
filter log content for svc-03939
grep -n -A3 -B3 'secret' /etc/svc-03939 | fold -w 120
summarize git differences for /srv/svc-03940
git -C /srv/svc-03940 diff --stat origin/main...HEAD config/ | tail -n 5
order svc-03941 data numerically
sort -k1,1 -k2,2n /srv/svc-03941/data.txt | paste -sd, -
list matching paths under /srv/svc-03942
find /srv/svc-03942 -type d -name '*.gz' -size +50M -exec ls -lh {} + > /tmp/svc-03942.out
find files under /srv/svc-03943
find /srv/svc-03943 -type f -name '*.json' -size +10M -print > /tmp/svc-03943.out
list changed files in /srv/svc-03944
git -C /srv/svc-03944 diff --name-status HEAD~2..HEAD -- | sort -u
validate JSON status for svc-03945
jq -S '.services | keys[]' /srv/svc-03945/jobs.json | awk '{print $1}'
locate matching files in /srv/svc-03946
find /srv/svc-03946 -mindepth 1 -type f -empty -exec gzip {} + | sed 's/^/ /'
scan configuration files for svc-03947
grep -n -A3 -B3 'ERROR' /var/log/svc-03947.log | tac
find files under /srv/svc-03948
find /srv/svc-03948 -maxdepth 2 -type f -empty -mtime +7 -exec ls -lh {} + | grep -i error
inspect systemd unit state for svc-03949
systemctl restart svc-03949.socket --no-block | tee /tmp/svc-03949.out
clean up selected files in /srv/svc-03950
find /srv/svc-03950 -type l -empty -delete | cut -d, -f1
find matching lines for svc-03951
grep -n -A3 -B3 'WARN' /var/log/svc-03951.log --include='*.yaml' 2>&1 | tee /tmp/svc-03951.log
list matching paths under /srv/svc-03952
find /srv/svc-03952 -maxdepth 2 -type f -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | nl -ba
find files under /srv/svc-03953
find /srv/svc-03953 -type d -name '*.tmp' -size +10M -exec ls -lh {} + | grep -i warn
filter log content for svc-03954
grep -v 'ERROR' /var/log/svc-03954.log --exclude-dir=vendor | sed -n '1,20p'
clean up selected files in /srv/svc-03955
find /srv/svc-03955 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -print | nl -ba
extract JSON fields for svc-03956
jq --indent 2 '.items[] | select(.id == 3956) | .name' /srv/svc-03956/health.json | tee -a /tmp/svc-03956.log
display recent container output for svc-03957
docker logs --since '1h' --timestamps svc-03957 | fold -w 120
query journal history for svc-03958
journalctl -u svc-03958.service -n 50 -f | tac
search the svc-03959 directory tree
find /srv/svc-03959 -type f -empty -mtime +7 -exec ls -lh {} + | sort -u
display docker container details for svc-03960
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' | grep -i warn | tee /tmp/svc-03960.out | head -n 20
inspect network hops for svc-03961.example.com
traceroute -I svc-03961.example.com | cut -d, -f1
pretty-print JSON for svc-03962
jq -c 'map(select(.status == "failed")) | length' /srv/svc-03962/jobs.json | sort
search text for svc-03963
grep -RIn 'secret' /etc/svc-03963 --include='*.yaml' | tee /tmp/svc-03963.out
search the svc-03964 directory tree
find /srv/svc-03964 -mindepth 1 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
check filesystem usage for svc-03965
df -h /srv/svc-03965 /var/log/svc-03965 | sort
list git history for /srv/svc-03966
git -C /srv/svc-03966 log --name-status -n 100 --decorate | fold -w 120
display recent container output for svc-03967
docker logs --tail 50 -f svc-03967 | sed -n '1,20p'
find files under /srv/svc-03968
find /srv/svc-03968 -type d -name '*.conf' -mtime +30 -print | column -t
read journal entries for svc-03969
journalctl --since 'today' >> /tmp/svc-03969.out
summarize git differences for /srv/svc-03970
git -C /srv/svc-03970 diff --numstat origin/main...HEAD -- | fold -w 120
compare revisions in /srv/svc-03971
git -C /srv/svc-03971 diff --check HEAD~1 | sed -n '1,20p'
list matching paths under /srv/svc-03972
find /srv/svc-03972 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -print | sort -k2
display recent container output for svc-03973
docker logs --tail 100 -f svc-03973 | grep -i error | grep -i warn
split svc-03974 records by delimiter
cut -d, -f1 /srv/svc-03974/users.csv | head | tee /tmp/svc-03974.out
read journal entries for svc-03975
journalctl -u svc-03975.service --since '24 hours ago' --output=short-iso 2>&1
find matching lines for svc-03976
grep -RIn 'ERROR' /var/log/svc-03976.log --exclude='*.min.js' | grep -i warn
read journal entries for svc-03977
journalctl -u svc-03977.service --until '1 hour ago' -f | less
search text for svc-03978
grep -Ril 'WARN' /var/log/svc-03978.log --include='*.yaml' 2>&1 | tee /tmp/svc-03978.log
search the svc-03979 directory tree
find /srv/svc-03979 -type l -name '*.gz' -mtime +30 -exec gzip {} + | head -n 50
summarize git differences for /srv/svc-03980
git -C /srv/svc-03980 diff --stat -- | head -n 50
inspect systemd unit state for svc-03981
systemctl show svc-03981.service | grep -i warn