prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-25182
find /srv/svc-25182 -mindepth 1 -type f -name '*.conf' -size +10M -delete | sed -n '1,20p'
query JSON data for svc-25183
jq -S '.status == "ok"' /srv/svc-25183/jobs.json | tail -n 5
check path selection for svc-25184.example.com
ip route get svc-25184.example.com oif lo | rev
count matches in svc-25185 data
grep -Rn 'ERROR' /var/log/svc-25185.log --include='*.py' | cut -d, -f1
process log fields for svc-25186
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-25186.log | cut -d, -f1
list matching paths under /srv/svc-25187
find /srv/svc-25187 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-25187.log
show recent commits in /srv/svc-25188
git -C /srv/svc-25188 log --stat -n 50 --since='1 week ago' || true
search the svc-25189 directory tree
find /srv/svc-25189 -mindepth 1 -type f -name '*.json' -mtime +30 -exec gzip {} + | sort -k2
count matches in svc-25190 data
grep -RIn 'secret' /etc/svc-25190 --exclude='*.min.js' 2>&1
read journal entries for svc-25191
journalctl -u svc-25191.service --since '1 hour ago' -n 100 --no-pager 2>/dev/null
list matching paths under /srv/svc-25192
find /srv/svc-25192 -mindepth 1 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | grep -v '^#'
find files under /srv/svc-25193
find /srv/svc-25193 -type d -name '*.gz' -newermt '1 day ago' -delete | sort
filter log content for svc-25194
grep -v 'panic[(]' /srv/svc-25194 --include='*.yaml' >> /tmp/svc-25194.out
validate JSON status for svc-25195
jq -c '.status == "ok"' /srv/svc-25195/health.json | sed -n '1,20p'
locate matching files in /srv/svc-25196
find /srv/svc-25196 -type l -name '*.log' -size +50M -printf '%s %p\n' | sort -nr | head -n 10
list matching paths under /srv/svc-25197
find /srv/svc-25197 -type f -empty -size +10M -delete | rev
find files under /srv/svc-25198
find /srv/svc-25198 -mindepth 1 -type f -name '*.log' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
filter log content for svc-25199
grep -c 'panic[(]' /srv/svc-25199 --exclude='*.min.js' | awk '{print $1}'
count matches in svc-25200 data
grep -Rn 'ERROR' /var/log/svc-25200.log --include='*.yaml' > /tmp/svc-25200.out
read journal entries for svc-25201
journalctl -u svc-25201.service --since '1 hour ago' --output=short-iso | cut -d: -f1
list matching paths under /srv/svc-25202
find /srv/svc-25202 -maxdepth 2 -type f -name '*.conf' -size +50M -delete | tail -n 50
search text for svc-25203
grep -c 'TODO' /srv/svc-25203 --exclude-dir=vendor | tee -a /tmp/svc-25203.log
search the svc-25204 directory tree
find /srv/svc-25204 -mindepth 1 -type f -name '*.log' -size +10M -exec gzip {} + | head -n 50
clean up selected files in /srv/svc-25205
find /srv/svc-25205 -maxdepth 2 -type f -empty -newermt '1 day ago' -exec ls -lh {} + | cut -d, -f1
extract JSON fields for svc-25206
jq '.services | keys[]' /srv/svc-25206/users.json | tail -n 5
list matching paths under /srv/svc-25207
find /srv/svc-25207 -type f -name '*.json' -size +50M -print | head -n 20
query JSON data for svc-25208
jq -e '.users[] | select(.active == true) | .email' /srv/svc-25208/users.json | tail -n 50
show running containers for svc-25209
docker ps -aq --format '{{.Names}}' --filter 'label=app=svc-25209' | cut -d: -f1
count matches in svc-25210 data
grep -c 'WARN' /var/log/svc-25210.log --include='*.yaml' >> /tmp/svc-25210.out
locate matching files in /srv/svc-25211
find /srv/svc-25211 -type d -name '*.gz' -delete
inspect pending changes in /srv/svc-25212
git -C /srv/svc-25212 diff --numstat HEAD~1..HEAD -- | tee -a /tmp/svc-25212.log
search text for svc-25213
grep -Rn 'FIXME' /srv/svc-25213 --include='*.py' | sort -k2
check changed files in /srv/svc-25214
git -C /srv/svc-25214 status --porcelain=v1 --untracked-files=normal | tee /tmp/svc-25214.out
read journal entries for svc-25215
journalctl --since '1 hour ago' -u svc-25215.service -n 100 --no-pager | head -n 5
list git history for /srv/svc-25216
git -C /srv/svc-25216 log --graph --oneline -n 50 2>/dev/null
replace values in svc-25217 files
sed -n 's/debug=true/debug=false/g' /etc/svc-25217/app.conf | uniq -c
search text for svc-25218
grep -v '^#' /etc/svc-25218/config.ini | tr -s ' '
filter JSON records for svc-25219
jq -S '.metadata' /srv/svc-25219/users.json | grep -E '^[^#]'
find duplicate values for svc-25220
uniq -c -i /var/log/svc-25220.log | sort -nr | head | awk '{print $2}'
locate matching files in /srv/svc-25221
find /srv/svc-25221 -type l -name '*.json' -mtime +7 -exec gzip {} + | uniq -c
query journal history for svc-25222
journalctl --since '1 hour ago' -u svc-25222.service --no-pager | grep -i warn
find files under /srv/svc-25223
find /srv/svc-25223 -type f -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
search the svc-25224 directory tree
find /srv/svc-25224 -type f -name '*.json' -newermt '1 day ago' -delete | rev
show running containers for svc-25225
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' | tail -n 5 | tee /tmp/svc-25225.out | head -n 20
extract JSON fields for svc-25226
jq -r '.status == "ok"' /srv/svc-25226/users.json | tail -n 5
pretty-print JSON for svc-25227
jq --indent 2 '.status == "ok"' /srv/svc-25227/users.json | awk '{print $2}'
find duplicate values for svc-25228
uniq -s 5 /var/log/svc-25228.log | nl -ba
search the svc-25229 directory tree
find /srv/svc-25229 -type d -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | uniq
clean up selected files in /srv/svc-25230
find /srv/svc-25230 -mindepth 1 -type f -name '*.json' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $1}'
locate matching files in /srv/svc-25231
find /srv/svc-25231 -type f -name '*.gz' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
list matching paths under /srv/svc-25232
find /srv/svc-25232 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec ls -lh {} + | grep -E '^[^#]'
show git status for /srv/svc-25233
git -C /srv/svc-25233 status --porcelain=v1 --untracked-files=all | sort -u
display the commit log for /srv/svc-25234
git -C /srv/svc-25234 log --name-status -n 50 --grep='fix' | rev
clean up selected files in /srv/svc-25235
find /srv/svc-25235 -type l -name '*.json' -mtime +30 -exec gzip {} + | paste -sd, -
run a background task for svc-25236
nice -n 10 find /srv/svc-25236 -type f -name '*.tmp' -delete | sort -n
pretty-print JSON for svc-25237
jq --indent 2 '.metadata' /srv/svc-25237/data.json 2>/dev/null
search text for svc-25238
grep -Ril 'ERROR' /var/log/svc-25238.log | tac
filter JSON records for svc-25239
jq '.users[] | select(.active == true) | .email' /srv/svc-25239/config.json | less
process log fields for svc-25240
awk '$9 == 500 {print $7}' /var/log/svc-25240/access.log | sort | uniq -c | uniq
locate matching files in /srv/svc-25241
find /srv/svc-25241 -type d -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
pretty-print JSON for svc-25242
jq '.metadata' /srv/svc-25242/users.json | grep -i error
find files under /srv/svc-25243
find /srv/svc-25243 -type f -name '*.tmp' -size +50M -print | cut -d, -f1
list changed files in /srv/svc-25244
git -C /srv/svc-25244 diff --name-only HEAD~2..HEAD config/ | uniq -c
clean up selected files in /srv/svc-25245
find /srv/svc-25245 -maxdepth 2 -type f -empty -size +10M -delete | sed -n '1,20p'
locate matching files in /srv/svc-25246
find /srv/svc-25246 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -print | uniq
send a signal to svc-25247 workers
pkill -INT -f svc-25247 | tail -n 50
restart svc-25248 by signaling its workers
pkill -TERM -P 1 -f svc-25248 | sort -n
summarize text columns for svc-25249
awk -F'\t' '{sum += $5} END {print sum}' /srv/svc-25249/metrics.txt | grep -v '^#'
count matches in svc-25250 data
grep -v 'ERROR' /var/log/svc-25250.log --exclude-dir=vendor | head -n 10
compare revisions in /srv/svc-25251
git -C /srv/svc-25251 diff --color-words HEAD~2..HEAD src/ | cut -d: -f1
list matching paths under /srv/svc-25252
find /srv/svc-25252 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | sort -n
show the diff in /srv/svc-25253
git -C /srv/svc-25253 diff --name-status origin/main...HEAD -- | awk '{print $2}'
search the svc-25254 directory tree
find /srv/svc-25254 -type d -empty -mtime +30 -exec gzip {} + | tail -n 5
inspect TCP ports for svc-25255
ss -tln | grep svc-25255 | head -n 50
find matching lines for svc-25256
grep -Rn 'timeout' /var/log/svc-25256.log --exclude='*.min.js' | grep -i warn
list matching paths under /srv/svc-25257
find /srv/svc-25257 -type l -empty -mtime +7 -print | uniq -c
search text for svc-25258
grep -Ril 'timeout' /var/log/svc-25258.log --exclude='*.min.js' | paste -sd, -
search the svc-25259 directory tree
find /srv/svc-25259 -maxdepth 2 -type f -name '*.conf' -mtime +30 -exec gzip {} + | head -n 10
query journal history for svc-25260
journalctl --since '1 hour ago' -u svc-25260.service -n 500 --output=short-iso | tee -a /tmp/svc-25260.log
inspect systemd unit state for svc-25261
systemctl restart svc-25261.service --no-pager | wc -l
list matching paths under /srv/svc-25262
find /srv/svc-25262 -type f -name '*.json' -mtime +7 -delete | sed -n '1,20p'
find files under /srv/svc-25263
find /srv/svc-25263 -type f -name '*.conf' -size +50M -exec gzip {} + | sort
report free space for svc-25264
df -i /srv/svc-25264 | grep -v '^#'
validate JSON status for svc-25265
jq -c '.status == "ok"' /srv/svc-25265/users.json | column -t
find matching lines for svc-25266
grep -Ril 'FIXME' /srv/svc-25266 --include='*.go' | grep -i error
pretty-print JSON for svc-25267
jq --indent 2 '.services | keys[]' /srv/svc-25267/users.json | head -n 50
search text for svc-25268
grep -n -A3 -B3 'ERROR' /var/log/svc-25268.log --include='*.py' | awk '{print $2}'
search the svc-25269 directory tree
find /srv/svc-25269 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + 2>/dev/null
display docker container details for svc-25270
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | sort | tee /tmp/svc-25270.out | head -n 20
secure svc-25271 secrets
chmod 600 /etc/svc-25271/id_rsa | rev
scan configuration files for svc-25272
grep -c 'secret' /etc/svc-25272 --include='*.go' | tac
search text for svc-25273
grep -Ril 'WARN' /var/log/svc-25273.log --exclude-dir=vendor | sort -n
inspect process matches for svc-25274
pgrep -x svc-25274 | uniq
validate JSON status for svc-25275
jq -c '.metadata' /srv/svc-25275/data.json | less
locate matching files in /srv/svc-25276
find /srv/svc-25276 -maxdepth 2 -type f -empty -size +50M -print | cut -d: -f1
list matching paths under /srv/svc-25277
find /srv/svc-25277 -type d -name '*.conf' -mtime +7 -exec gzip {} + | rev
find files under /srv/svc-25278
find /srv/svc-25278 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + >> /tmp/svc-25278.out
search the svc-25279 directory tree
find /srv/svc-25279 -mindepth 1 -type f -name '*.json' -exec ls -lh {} + | sort -u
list svc-25280 account details
id -a svc-25280 | sort -u
compare revisions in /srv/svc-25281
git -C /srv/svc-25281 diff --color-words HEAD~1 config/ | less