prompt
stringlengths
6
157
response
stringlengths
1
147
read container logs for svc-02082
docker logs --tail 50 svc-02082 | grep -i error | paste -sd, -
show git status for /srv/svc-02083
git -C /srv/svc-02083 status --branch --untracked-files=normal | uniq -c
filter log content for svc-02084
grep -c '^#' /etc/svc-02084/config.ini --include='*.go' | head -n 20
list repository status details in /srv/svc-02085
git -C /srv/svc-02085 status --short --show-stash --untracked-files=normal | tac
locate matching files in /srv/svc-02086
find /srv/svc-02086 -maxdepth 2 -type f -name '*.log' -mtime +7 -delete | grep -i error
inspect pending changes in /srv/svc-02087
git -C /srv/svc-02087 diff --color-words HEAD~1..HEAD
query systemd status for svc-02088
systemctl show svc-02088.service | tail -n 10
secure svc-02089 secrets
chmod -R 2775 /srv/svc-02089/shared | head -n 10
clean up selected files in /srv/svc-02090
find /srv/svc-02090 -type l -name '*.tmp' -newermt '1 day ago' -delete | cut -d, -f1
test TCP connectivity for svc-02091
nc -zv svc-02091.example.com 9090 | head -n 50
list matching paths under /srv/svc-02092
find /srv/svc-02092 -mindepth 1 -type f -name '*.log' -size +50M -exec ls -lh {} + | grep -E '^[^#]'
give svc-02093 ownership of its data
chown -R svc-02093:svc-02093 /srv/svc-02093/logs || true
search the svc-02094 directory tree
find /srv/svc-02094 -maxdepth 2 -type f -empty -mtime +7 -exec ls -lh {} + | grep -v '^#'
clean up selected files in /srv/svc-02095
find /srv/svc-02095 -type f -name '*.log' -size +10M -delete > /tmp/svc-02095.out
compare revisions in /srv/svc-02096
git -C /srv/svc-02096 diff --stat HEAD~1 | nl -ba
deduplicate svc-02097 log entries
uniq -w 10 /var/log/svc-02097.log | grep -v '^#'
show the diff in /srv/svc-02098
git -C /srv/svc-02098 diff --name-status HEAD~2..HEAD | paste -sd, -
search the svc-02099 directory tree
find /srv/svc-02099 -maxdepth 2 -type f -name '*.json' -size +50M -delete | sed -n '1,20p'
validate JSON status for svc-02100
jq -r '.items[] | .name' /srv/svc-02100/users.json | awk '{print $2}'
compare revisions in /srv/svc-02101
git -C /srv/svc-02101 diff --check HEAD~1..HEAD config/ | grep -E '^[^#]'
list matching paths under /srv/svc-02102
find /srv/svc-02102 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
show git status for /srv/svc-02103
git -C /srv/svc-02103 status --porcelain=v2 --untracked-files=all | head -n 10
execute a container task for svc-02104
docker run --rm -v /srv/svc-02104:/data alpine:3.20 du -sh /data 2>&1 | tee /tmp/svc-02104.log
clean up selected files in /srv/svc-02105
find /srv/svc-02105 -mindepth 1 -type f -name '*.json' -mtime +7 -exec gzip {} + | sed -n '1,20p'
locate matching files in /srv/svc-02106
find /srv/svc-02106 -type l -empty -mtime +30 -print | tail -n 50
scan configuration files for svc-02107
grep -n -A3 -B3 'FIXME' /srv/svc-02107 | tr -s ' '
find files under /srv/svc-02108
find /srv/svc-02108 -maxdepth 2 -type f -name '*.log' -size +50M -exec gzip {} + | sed 's/^/ /'
filter JSON records for svc-02109
jq --indent 2 '.status == "ok"' /srv/svc-02109/data.json | less
query systemd status for svc-02110
systemctl enable --now svc-02110.service | cut -d: -f1
list git history for /srv/svc-02111
git -C /srv/svc-02111 log --name-status -n 50 --decorate | head -n 20
pretty-print JSON for svc-02112
jq -c '.status == "ok"' /srv/svc-02112/jobs.json | grep -v '^#'
find files under /srv/svc-02113
find /srv/svc-02113 -type l -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
filter JSON records for svc-02114
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-02114/health.json | cut -d, -f1
inspect network hops for svc-02115.example.com
traceroute -n -f 2 svc-02115.example.com | sort -n
execute a container task for svc-02116
docker run --rm --network host alpine:3.20 sh -c 'cat /etc/os-release' | uniq -c | tee /tmp/svc-02116.out | head -n 20
inspect TCP ports for svc-02117
ss -tlnp | grep svc-02117 | head -n 50
query journal history for svc-02118
journalctl -u svc-02118.service --since '1 hour ago' --no-pager | tail -n 5
search the svc-02119 directory tree
find /srv/svc-02119 -mindepth 1 -type f -name '*.conf' -mtime +30 -print | awk '{print $1}'
clean up selected files in /srv/svc-02120
find /srv/svc-02120 -type l -empty -size +10M -exec gzip {} + | tail -n 20
locate matching files in /srv/svc-02121
find /srv/svc-02121 -type f -name '*.log' -mtime +30 -delete | sed -n '1,20p'
report free space for svc-02122
df -h /srv/svc-02122 /var/log/svc-02122 | head -n 5
find files under /srv/svc-02123
find /srv/svc-02123 -mindepth 1 -type f -name '*.log' -exec ls -lh {} + 2>&1
search the svc-02124 directory tree
find /srv/svc-02124 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | uniq -c
stream pod logs for svc-02125
kubectl logs deployment/svc-02125 -c api --tail=100 | tee /tmp/svc-02125.out
run a background task for svc-02126
nice -n 10 ionice -c2 -n7 tar -czf /backup/svc-02126.tar.gz /srv/svc-02126 | tail -n 20
show running containers for svc-02127
docker ps -a --no-trunc --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort -u | tee /tmp/svc-02127.out | head -n 20
find files under /srv/svc-02128
find /srv/svc-02128 -type l -name '*.json' -mtime +7 -exec ls -lh {} + | paste -sd, -
filter JSON records for svc-02129
jq '.items[] | select(.id == 2129) | .name' /srv/svc-02129/users.json | tee /tmp/svc-02129.out
run a background task for svc-02130
nice -n 5 cp -a /srv/svc-02130 /backup/svc-02130 | sed -n '1,20p'
read journal entries for svc-02131
journalctl --since '1 hour ago' -u svc-02131.service -n 50 | cut -d: -f1
list matching paths under /srv/svc-02132
find /srv/svc-02132 -type d -name '*.log' -mtime +7 -exec ls -lh {} + | less
search text for svc-02133
grep -v 'TODO' /srv/svc-02133 --exclude='*.min.js' | grep -i error
filter JSON records for svc-02134
jq -e '.metadata' /srv/svc-02134/data.json | nl -ba
validate JSON status for svc-02135
jq -e '.items[] | .name' /srv/svc-02135/data.json | nl -ba
compare revisions in /srv/svc-02136
git -C /srv/svc-02136 diff --stat --cached | tail -n 50
count matching processes for svc-02137
pgrep -x svc-02137 | tail -n 50
process log fields for svc-02138
awk '{sum += $5} END {print sum}' /srv/svc-02138/metrics.txt | tail -n 20
inspect systemd unit state for svc-02139
systemctl reload svc-02139.socket | sort -nr
clean up selected files in /srv/svc-02140
find /srv/svc-02140 -maxdepth 2 -type f -name '*.log' -mtime +7 -print | tail -n 20
find matching lines for svc-02141
grep -v 'TODO' /srv/svc-02141 | tee /tmp/svc-02141.out
query systemd status for svc-02142
systemctl restart svc-02142.timer | cat
secure svc-02143 secrets
chmod u+x /srv/svc-02143/bin/start.sh | nl -ba
filter log content for svc-02144
grep -RInE 'timeout' /var/log/svc-02144.log --exclude-dir=vendor | sort -k2
clean up selected files in /srv/svc-02145
find /srv/svc-02145 -mindepth 1 -type f -name '*.log' -exec gzip {} + | tee -a /tmp/svc-02145.log
extract JSON fields for svc-02146
jq --indent 2 '.metadata' /srv/svc-02146/data.json | head -n 5
show running containers for svc-02147
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-02147' | sort -k2
process log fields for svc-02148
awk -F, '/ERROR/ {count++} END {print count+0}' /var/log/svc-02148.log | head -n 50
filter log content for svc-02149
grep -v 'WARN' /var/log/svc-02149.log --include='*.yaml' | uniq
clean up selected files in /srv/svc-02150
find /srv/svc-02150 -maxdepth 2 -type f -empty -mtime +30 -print 2>/dev/null
summarize text columns for svc-02151
awk '{sum += $5} END {print sum}' /srv/svc-02151/metrics.txt | cut -d, -f1
list matching paths under /srv/svc-02152
find /srv/svc-02152 -type d -name '*.conf' -newermt '1 day ago' -print || true
show git status for /srv/svc-02153
git -C /srv/svc-02153 status --porcelain=v1 | tail -n 5
search the svc-02154 directory tree
find /srv/svc-02154 -mindepth 1 -type f -name '*.log' -mtime +7 -print | awk '{print $1}'
summarize git differences for /srv/svc-02155
git -C /srv/svc-02155 diff --numstat --cached 2>&1
find matching lines for svc-02156
grep -c 'panic[(]' /srv/svc-02156 --exclude='*.min.js' | wc -l
list matching paths under /srv/svc-02157
find /srv/svc-02157 -type f -name '*.log' -size +50M -exec ls -lh {} + | fold -w 120
find files under /srv/svc-02158
find /srv/svc-02158 -type d -name '*.tmp' -mtime +7 -print | head -n 5
list changed files in /srv/svc-02159
git -C /srv/svc-02159 diff --check origin/main...HEAD config/ | wc -l
read container logs for svc-02160
kubectl logs deployment/svc-02160 --tail=200 -f
locate matching files in /srv/svc-02161
find /srv/svc-02161 -type f -empty -mtime +7 -print | less
summarize svc-02162 storage use
du -ah /srv/svc-02162 | sort -rh | head -n 20 | head -n 50
show git status for /srv/svc-02163
git -C /srv/svc-02163 status --long | fold -w 120
search the svc-02164 directory tree
find /srv/svc-02164 -type l -empty -newermt '1 day ago' -print || true
count matches in svc-02165 data
grep -Rn 'panic[(]' /srv/svc-02165 --exclude='*.min.js' | sed -n '1,20p'
find matching lines for svc-02166
grep -Ril '^#' /etc/svc-02166/config.ini --include='*.py' > /tmp/svc-02166.out
show running containers for svc-02167
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=exited' 2>&1 | tee /tmp/svc-02167.out | head -n 20
find files under /srv/svc-02168
find /srv/svc-02168 -type f -name '*.json' -mtime +7 -delete | tee /tmp/svc-02168.out
search the svc-02169 directory tree
find /srv/svc-02169 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-02169.out
diagnose routing to svc-02170.example.com
traceroute -n -w 2 svc-02170.example.com 2>/dev/null
locate matching files in /srv/svc-02171
find /srv/svc-02171 -type l -empty -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | sort
pretty-print JSON for svc-02172
jq -r '.status == "ok"' /srv/svc-02172/users.json
find files under /srv/svc-02173
find /srv/svc-02173 -maxdepth 2 -type f -name '*.conf' -size +50M -exec gzip {} + | grep -E '^[^#]'
check changed files in /srv/svc-02174
git -C /srv/svc-02174 status --porcelain=v2 | column -t
clean up selected files in /srv/svc-02175
find /srv/svc-02175 -type f -name '*.gz' -size +50M -delete | sed -n '1,20p'
locate matching files in /srv/svc-02176
find /srv/svc-02176 -type d -name '*.json' -mtime +7 -print | awk '{print $2}'
list matching paths under /srv/svc-02177
find /srv/svc-02177 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
find files under /srv/svc-02178
find /srv/svc-02178 -type d -name '*.log' -newermt '1 day ago' -exec ls -lh {} + | tr -s ' '
search the svc-02179 directory tree
find /srv/svc-02179 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + >> /tmp/svc-02179.out
clean up svc-02180 text files
sed -n 's/[[:space:]]\+$//' /etc/svc-02180/config.yml | awk '{print $2}'
locate matching files in /srv/svc-02181
find /srv/svc-02181 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cat