prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-04082
find /srv/svc-04082 -maxdepth 2 -type f -name '*.tmp' -size +50M -exec gzip {} + | cat
show the diff in /srv/svc-04083
git -C /srv/svc-04083 diff --color-words config/ 2>&1
sort svc-04084 files with custom fields
sort -t: -k3,3n /etc/passwd | tee -a /tmp/svc-04084.log
summarize text columns for svc-04085
awk -F'\t' '{print length($0), $0}' /etc/svc-04085/config.ini | sort -nr | head | sort -n
locate matching files in /srv/svc-04086
find /srv/svc-04086 -mindepth 1 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | cat
list matching paths under /srv/svc-04087
find /srv/svc-04087 -type f -empty -mtime +30 -print | column -t
display docker container details for svc-04088
docker ps --latest --filter 'label=app=svc-04088' >> /tmp/svc-04088.out
search the svc-04089 directory tree
find /srv/svc-04089 -type f -name '*.conf' -mtime +7 -exec ls -lh {} + | tee /tmp/svc-04089.out
validate JSON status for svc-04090
jq -r '.services | keys[]' /srv/svc-04090/config.json | sed 's/^/ /'
locate matching files in /srv/svc-04091
find /srv/svc-04091 -type l -empty -size +10M -exec ls -lh {} + | sed 's/^/ /'
list matching paths under /srv/svc-04092
find /srv/svc-04092 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
find files under /srv/svc-04093
find /srv/svc-04093 -type d -name '*.log' -exec ls -lh {} + | wc -l
filter JSON records for svc-04094
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-04094/jobs.json | tee -a /tmp/svc-04094.log
display recent container output for svc-04095
docker logs --since '1h' -f svc-04095 2>&1 2>/dev/null
locate matching files in /srv/svc-04096
find /srv/svc-04096 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} +
pretty-print JSON for svc-04097
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-04097/jobs.json | sort -nr
find files under /srv/svc-04098
find /srv/svc-04098 -type d -name '*.gz' -exec ls -lh {} + | tee -a /tmp/svc-04098.log
filter JSON records for svc-04099
jq -e '.metadata' /srv/svc-04099/jobs.json | grep -v '^#'
process log fields for svc-04100
awk -F: '$3 > 100 {print $1}' /srv/svc-04100/data.csv > /tmp/svc-04100.out
extract JSON fields for svc-04101
jq --indent 2 '.services | keys[]' /srv/svc-04101/jobs.json | fold -w 120
list matching paths under /srv/svc-04102
find /srv/svc-04102 -mindepth 1 -type f -name '*.tmp' -mtime +30 -delete > /tmp/svc-04102.out
query JSON data for svc-04103
jq -c '.metadata' /srv/svc-04103/health.json >> /tmp/svc-04103.out
display docker container details for svc-04104
docker ps -aq --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-04104' | column -t
count matches in svc-04105 data
grep -RIn 'panic[(]' /srv/svc-04105 --exclude-dir=vendor | paste -sd, -
display the working tree state in /srv/svc-04106
git -C /srv/svc-04106 status --porcelain=v2 --branch --untracked-files=normal | sed 's/^/ /'
inspect systemd unit state for svc-04107
systemctl enable --now svc-04107.timer --no-pager | head -n 20
query journal history for svc-04108
journalctl --since 'today' -n 100 -f | awk '{print $2}' | tee /tmp/svc-04108.out | head -n 20
filter JSON records for svc-04109
jq -r '.status == "ok"' /srv/svc-04109/users.json | cut -d: -f1
process log fields for svc-04110
awk '{sum += $5} END {print sum}' /srv/svc-04110/metrics.txt | tr -s ' '
inspect routing for svc-04111.example.com
ip route get svc-04111.example.com uid 1000 | head -n 50
inspect recent changes in /srv/svc-04112
git -C /srv/svc-04112 log --stat -n 10 --author='deploy' | tee -a /tmp/svc-04112.log
find files under /srv/svc-04113
find /srv/svc-04113 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
search the svc-04114 directory tree
find /srv/svc-04114 -type f -name '*.tmp' -size +10M -delete | sed -n '1,20p'
upgrade the svc-04115 chart
helm history svc-04115 -n svc-04115 | tail -n 10
display the working tree state in /srv/svc-04116
git -C /srv/svc-04116 status --porcelain=v2 --show-stash | grep -E '^[^#]'
inspect pending changes in /srv/svc-04117
git -C /srv/svc-04117 diff --name-only | sort -u
search text for svc-04118
grep -v 'FIXME' /srv/svc-04118 --include='*.yaml' | cat
search the svc-04119 directory tree
find /srv/svc-04119 -type d -name '*.conf' -size +50M -exec ls -lh {} + | column -t
validate JSON status for svc-04120
jq -c '.services | keys[]' /srv/svc-04120/data.json | tr -s ' '
deduplicate svc-04121 log entries
uniq -s 5 /var/log/svc-04121.log | sort -nr
transfer svc-04122 data with rsync
rsync -avz --exclude='*.log' /srv/svc-04122/ backup@host:/backups/svc-04122/ | tee /tmp/svc-04122.out
summarize text columns for svc-04123
awk '$9 == 500 {print $7}' /var/log/svc-04123/access.log | sort | uniq -c | tail -n 20
display docker container details for svc-04124
docker ps -a --format 'table {{.Names}}\t{{.Status}}' | tac | tee /tmp/svc-04124.out | head -n 20
show running containers for svc-04125
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=exited' | sort -k2 | tee /tmp/svc-04125.out | head -n 20
locate matching files in /srv/svc-04126
find /srv/svc-04126 -maxdepth 2 -type f -name '*.tmp' -size +10M -delete | sort -nr
list matching paths under /srv/svc-04127
find /srv/svc-04127 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cat
query systemd status for svc-04128
systemctl is-active svc-04128.socket --no-block | awk '{print $1}'
copy application data for svc-04129
rsync -av --dry-run /srv/svc-04129/ backup@host:/backups/svc-04129/ | column -t
assign svc-04130 files to the service user
chown -h svc-04130:svc-04130 /srv/svc-04130/current 2>&1
list git history for /srv/svc-04131
git -C /srv/svc-04131 log --oneline -n 50 --grep='fix' || true
list matching paths under /srv/svc-04132
find /srv/svc-04132 -maxdepth 2 -type f -name '*.conf' -size +10M -exec gzip {} + | sort -nr
find files under /srv/svc-04133
find /srv/svc-04133 -mindepth 1 -type f -name '*.json' -size +10M -exec ls -lh {} + | grep -v '^#'
filter log content for svc-04134
grep -Rn 'ERROR' /var/log/svc-04134.log --include='*.go' | nl -ba
print a git log summary for /srv/svc-04135
git -C /srv/svc-04135 log --graph --oneline -n 10 2>/dev/null
transfer svc-04136 data with rsync
rsync -av --link-dest=/backups/latest /srv/svc-04136/ backup@host:/backups/svc-04136-new/ | fold -w 120
inspect recent changes in /srv/svc-04137
git -C /srv/svc-04137 log --graph --oneline -n 100 --grep='fix' | column -t
show recent commits in /srv/svc-04138
git -C /srv/svc-04138 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | tail -n 5
check changed files in /srv/svc-04139
git -C /srv/svc-04139 status --long --show-stash | fold -w 120
list repository status details in /srv/svc-04140
git -C /srv/svc-04140 status --porcelain=v1 --branch | uniq -c
compare revisions in /srv/svc-04141
git -C /srv/svc-04141 diff --name-status HEAD~2..HEAD config/ 2>/dev/null
scan configuration files for svc-04142
grep -c '^#' /etc/svc-04142/config.ini --include='*.go' | sort
show running containers for svc-04143
docker ps -q --format 'table {{.Names}}\t{{.Status}}' | rev | tee /tmp/svc-04143.out | head -n 20
test network path to svc-04144.example.com
ping -c 4 -t 5 svc-04144.example.com | less
count matches in svc-04145 data
grep -Ril 'secret' /etc/svc-04145 | sed 's/^/ /'
process log fields for svc-04146
awk '{print $1}' /var/log/svc-04146/access.log | sort | uniq -c | sort -nr | head | tail -n 10
upgrade the svc-04147 chart
helm status svc-04147 -n svc-04147 | grep -E '^[^#]'
query JSON data for svc-04148
jq -S '.metadata' /srv/svc-04148/health.json | awk '{print $1}'
search the svc-04149 directory tree
find /srv/svc-04149 -maxdepth 2 -type f -name '*.json' -size +10M -exec gzip {} + | cut -d, -f1
count matches in svc-04150 data
grep -v '^#' /etc/svc-04150/config.ini --include='*.py' | sed -n '1,20p'
locate matching files in /srv/svc-04151
find /srv/svc-04151 -mindepth 1 -type f -empty -exec ls -lh {} + | head -n 5
find processes using svc-04152 files
lsof -u svc-04152 | nl -ba
find files under /srv/svc-04153
find /srv/svc-04153 -maxdepth 2 -type f -name '*.conf' -mtime +30 -delete | uniq
filter JSON records for svc-04154
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-04154/config.json
clean up selected files in /srv/svc-04155
find /srv/svc-04155 -mindepth 1 -type f -name '*.conf' -size +50M -exec gzip {} + | grep -i warn
locate matching files in /srv/svc-04156
find /srv/svc-04156 -maxdepth 2 -type f -name '*.json' -mtime +30 -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-04157
find /srv/svc-04157 -type d -empty -size +50M -print | tee /tmp/svc-04157.out
find files under /srv/svc-04158
find /srv/svc-04158 -type d -empty -mtime +7 -delete | uniq -c
run tests for svc-04159
make -C /srv/svc-04159 -j4 build | tee -a /tmp/svc-04159.log
validate JSON status for svc-04160
jq -S '.items[] | .name' /srv/svc-04160/jobs.json | sed -n '1,20p'
locate matching files in /srv/svc-04161
find /srv/svc-04161 -type d -name '*.tmp' -mtime +30 -print | nl -ba
list matching paths under /srv/svc-04162
find /srv/svc-04162 -mindepth 1 -type f -name '*.json' -size +50M -print | uniq -c
find files under /srv/svc-04163
find /srv/svc-04163 -mindepth 1 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
search the svc-04164 directory tree
find /srv/svc-04164 -mindepth 1 -type f -name '*.json' -size +10M -print | grep -E '^[^#]'
read journal entries for svc-04165
journalctl -u svc-04165.service --since '1 hour ago' -n 50 --no-pager | grep -i error
extract JSON fields for svc-04166
jq '.items[] | .name' /srv/svc-04166/users.json | tac
list matching paths under /srv/svc-04167
find /srv/svc-04167 -maxdepth 2 -type f -empty -print | grep -E '^[^#]'
find files under /srv/svc-04168
find /srv/svc-04168 -type d -empty -newermt '1 day ago' -delete | cat
display the commit log for /srv/svc-04169
git -C /srv/svc-04169 log --oneline -n 50 --author='deploy' | sed 's/^/ /'
clean up selected files in /srv/svc-04170
find /srv/svc-04170 -type l -name '*.tmp' -mtime +30 -exec gzip {} + | cut -d, -f1
locate matching files in /srv/svc-04171
find /srv/svc-04171 -maxdepth 2 -type f -name '*.json' -mtime +30 -print | sort -k2
pretty-print JSON for svc-04172
jq -S '.items[] | [.id, .name] | @tsv' /srv/svc-04172/jobs.json | grep -v '^#'
search text for svc-04173
grep -Ril 'timeout' /var/log/svc-04173.log --include='*.go' | fold -w 120
display the commit log for /srv/svc-04174
git -C /srv/svc-04174 log --format='%h %ad %s' --date=short -n 50 --all | head -n 20
send a signal to svc-04175 workers
pkill -KILL -f 'worker-4175' | uniq -c | tee /tmp/svc-04175.out | head -n 20
check resource use for svc-04176
ps -ef | grep svc-04176 | nl -ba
inspect branch and file status for /srv/svc-04177
git -C /srv/svc-04177 status --porcelain=v2 --branch | rev
find files under /srv/svc-04178
find /srv/svc-04178 -type f -name '*.tmp' -size +50M -exec gzip {} + | cut -d: -f1
filter JSON records for svc-04179
jq -e '.metadata' /srv/svc-04179/data.json | sort
clean up selected files in /srv/svc-04180
find /srv/svc-04180 -type l -name '*.gz' -mtime +30 -exec gzip {} +
locate matching files in /srv/svc-04181
find /srv/svc-04181 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -delete | tee -a /tmp/svc-04181.log